Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 177.2 MB / 204.9 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1762/0.1762, allocations: 29.43 MB / 290.7 MB, free: 3.258 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3703,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3703,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 71.91 kB / 431.2 MB, free: 3.188 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3891, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.00539/0.3945, allocations: 4.025 MB / 497.7 MB, free: 35.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3958, allocations: 0.8383 MB / 498.5 MB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.3959, allocations: 18.12 kB / 498.5 MB, free: 34.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.3961, allocations: 44.44 kB / 498.6 MB, free: 34.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.3965, allocations: 168 kB / 498.7 MB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.3967, allocations: 83.7 kB / 498.8 MB, free: 34.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.397, allocations: 397.5 kB / 499.2 MB, free: 34.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.3972, allocations: 77.3 kB / 499.3 MB, free: 34.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.3975, allocations: 194.5 kB / 499.5 MB, free: 34.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.3977, allocations: 183.4 kB / 499.6 MB, free: 33.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.3978, allocations: 20.56 kB / 499.7 MB, free: 33.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.3978, allocations: 22.25 kB / 499.7 MB, free: 33.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.825e-05/0.3979, allocations: 88.25 kB / 499.8 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.3981, allocations: 111.8 kB / 499.9 MB, free: 33.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.3983, allocations: 291.3 kB / 0.4884 GB, free: 33.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3984, allocations: 0 / 0.4884 GB, free: 33.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3984, allocations: 4 kB / 0.4884 GB, free: 33.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.3984, allocations: 3.938 kB / 0.4884 GB, free: 33.72 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009547/0.3993, allocations: 0.523 MB / 0.489 GB, free: 33.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3994, allocations: 13.58 kB / 0.489 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.3994, allocations: 32.75 kB / 0.489 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.3999, allocations: 272.3 kB / 0.4893 GB, free: 33.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.4, allocations: 22.47 kB / 0.4893 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.4001, allocations: 46.02 kB / 0.4893 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.4005, allocations: 297.7 kB / 0.4896 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4005, allocations: 0 / 0.4896 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.4005, allocations: 11.25 kB / 0.4896 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.4005, allocations: 5.938 kB / 0.4896 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.4008, allocations: 181.3 kB / 0.4898 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.4019, allocations: 1.159 MB / 0.4909 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.4022, allocations: 115.6 kB / 0.491 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.4022, allocations: 38.45 kB / 0.4911 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.4022, allocations: 2.969 kB / 0.4911 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.4023, allocations: 37.62 kB / 0.4911 GB, free: 31.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.4023, allocations: 0 / 0.4911 GB, free: 31.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007659/0.403, allocations: 475.6 kB / 0.4916 GB, free: 31.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.4031, allocations: 105.9 kB / 0.4917 GB, free: 31.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.4032, allocations: 243.6 kB / 0.4919 GB, free: 31.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.4033, allocations: 29.7 kB / 0.4919 GB, free: 31.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.4033, allocations: 204 kB / 0.4921 GB, free: 30.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.4034, allocations: 41.38 kB / 0.4922 GB, free: 30.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.4034, allocations: 44.39 kB / 0.4922 GB, free: 30.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.4035, allocations: 336.1 kB / 0.4925 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.439e-05/0.4036, allocations: 37.02 kB / 0.4926 GB, free: 30.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/0.4037, allocations: 138.6 kB / 0.4927 GB, free: 30.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.4038, allocations: 202.9 kB / 0.4929 GB, free: 30.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4038, allocations: 0 / 0.4929 GB, free: 30.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000354/0.4042, allocations: 232.9 kB / 0.4931 GB, free: 30 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4042, allocations: 6.562 kB / 0.4931 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4042, allocations: 3.062 kB / 0.4931 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.4044, allocations: 31.83 kB / 0.4931 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.4047, allocations: 62.05 kB / 0.4932 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4047, allocations: 13.75 kB / 0.4932 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.4048, allocations: 3.188 kB / 0.4932 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.4048, allocations: 13.06 kB / 0.4932 GB, free: 29.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.4049, allocations: 147.4 kB / 0.4934 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.405, allocations: 25.17 kB / 0.4934 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.4052, allocations: 148.3 kB / 0.4935 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4052, allocations: 3.188 kB / 0.4935 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4052, allocations: 3.938 kB / 0.4935 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4052, allocations: 7.094 kB / 0.4936 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.4055, allocations: 200.8 kB / 0.4937 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4055, allocations: 0 / 0.4937 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.4056, allocations: 27.81 kB / 0.4938 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.4056, allocations: 3.281 kB / 0.4938 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4056, allocations: 7.062 kB / 0.4938 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4057, allocations: 0 / 0.4938 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4057, allocations: 0 / 0.4938 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.406, allocations: 376.7 kB / 0.4941 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.406, allocations: 22.58 kB / 0.4942 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.4061, allocations: 0 / 0.4942 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.4062, allocations: 7.406 kB / 0.4942 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.4062, allocations: 14.03 kB / 0.4942 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4062, allocations: 3.188 kB / 0.4942 GB, free: 29.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.4064, allocations: 171.4 kB / 0.4944 GB, free: 29.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4064, allocations: 0 / 0.4944 GB, free: 29.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.4067, allocations: 43.22 kB / 0.4944 GB, free: 29.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.311e-05/0.4068, allocations: 106 kB / 0.4945 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.4071, allocations: 125.2 kB / 0.4946 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4071, allocations: 0 / 0.4946 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.4072, allocations: 43.92 kB / 0.4947 GB, free: 28.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.4077, allocations: 69.36 kB / 0.4947 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.4086, allocations: 0.6062 MB / 0.4953 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.4088, allocations: 163 kB / 0.4955 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.905e-05/0.4088, allocations: 25.33 kB / 0.4955 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.4089, allocations: 27.69 kB / 0.4955 GB, free: 28.45 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4089, allocations: 0 / 0.4955 GB, free: 28.45 MB / 446.1 MB Notification: Performance of Templates: time 0.006768/0.4157, allocations: 2.266 MB / 0.4977 GB, free: 28.13 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.164553639944643]