Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 112.8 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.001501, allocations: 196 kB / 18 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1723/0.1723, allocations: 38.05 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.91 kB / 458.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4556, allocations: 58.05 MB / 0.5041 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007827/0.4635, allocations: 7.679 MB / 0.5116 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006396/0.4699, allocations: 4.738 MB / 0.5162 GB, free: 15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006548/0.4706, allocations: 17.66 kB / 0.5162 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.4736, allocations: 1.083 MB / 0.5173 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.4777, allocations: 1.264 MB / 0.5185 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.4791, allocations: 363 kB / 0.5189 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002607/0.4817, allocations: 1.465 MB / 0.5203 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.4828, allocations: 0.6694 MB / 0.521 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.4843, allocations: 0.6406 MB / 0.5216 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.4856, allocations: 0.7026 MB / 0.5223 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.4857, allocations: 69.53 kB / 0.5223 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004526/0.4902, allocations: 1.428 MB / 0.5237 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000978/0.4913, allocations: 499.2 kB / 0.5242 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006773/0.4919, allocations: 461.7 kB / 0.5247 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.4962, allocations: 1.535 MB / 0.5262 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4962, allocations: 0 / 0.5262 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4962, allocations: 0.9062 kB / 0.5262 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.4963, allocations: 0 / 0.5262 GB, free: 10.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002572/0.4988, allocations: 1.197 MB / 0.5273 GB, free: 9.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4989, allocations: 13.98 kB / 0.5273 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003751/0.5027, allocations: 414.8 kB / 0.5277 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/0.5037, allocations: 0.4966 MB / 0.5282 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.5037, allocations: 59.77 kB / 0.5283 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.5039, allocations: 73.25 kB / 0.5283 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.5061, allocations: 1.231 MB / 0.5295 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.5061, allocations: 10.83 kB / 0.5296 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.5062, allocations: 30.45 kB / 0.5296 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.5064, allocations: 78.36 kB / 0.5297 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.5084, allocations: 1.313 MB / 0.5309 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006046/0.5145, allocations: 3.678 MB / 0.5345 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.5164, allocations: 1.09 MB / 0.5356 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009034/0.5173, allocations: 0.6419 MB / 0.5362 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.878e-05/0.5174, allocations: 15.73 kB / 0.5362 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.5175, allocations: 51.05 kB / 0.5363 GB, free: 4.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.504e-06/0.5175, allocations: 1.281 kB / 0.5363 GB, free: 4.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.007158/0.5246, allocations: 3.164 MB / 0.5394 GB, free: 2.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.5247, allocations: 91.23 kB / 0.5395 GB, free: 2.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.5252, allocations: 378.4 kB / 0.5398 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.5253, allocations: 40.92 kB / 0.5399 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.5255, allocations: 324.8 kB / 0.5402 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.5258, allocations: 342.2 kB / 0.5405 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.5261, allocations: 161.3 kB / 0.5407 GB, free: 1.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5262, allocations: 366.2 kB / 0.541 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.5269, allocations: 469.7 kB / 0.5415 GB, free: 1.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007971/0.5277, allocations: 0.5865 MB / 0.542 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.5294, allocations: 1.11 MB / 0.5431 GB, free: 276 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5294, allocations: 4 kB / 0.5431 GB, free: 272 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002468/0.5319, allocations: 1.485 MB / 0.5446 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.5319, allocations: 8 kB / 0.5446 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5319, allocations: 3.938 kB / 0.5446 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009321/0.5329, allocations: 336.8 kB / 0.5449 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.5336, allocations: 183.7 kB / 0.5451 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005185/0.5388, allocations: 4.178 MB / 0.5492 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.5394, allocations: 47.94 kB / 0.5492 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.22e-05/0.5395, allocations: 39.98 kB / 0.5492 GB, free: 9.816 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005145/0.54, allocations: 297.6 kB / 0.5495 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.5401, allocations: 59.62 kB / 0.5496 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.5428, allocations: 1.555 MB / 0.5511 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.5428, allocations: 8 kB / 0.5511 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.5428, allocations: 11.98 kB / 0.5511 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5428, allocations: 7.984 kB / 0.5511 GB, free: 7.859 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004747/0.5476, allocations: 3.004 MB / 0.5541 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5476, allocations: 8.094 kB / 0.5541 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.5482, allocations: 167.7 kB / 0.5542 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007635/0.549, allocations: 284.5 kB / 0.5545 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.5491, allocations: 27.98 kB / 0.5545 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/0.554, allocations: 3.901 MB / 0.5583 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.554, allocations: 4 kB / 0.5583 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.5565, allocations: 1.583 MB / 0.5599 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.5567, allocations: 152.6 kB / 0.56 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.089e-05/0.5568, allocations: 20 kB / 0.56 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.5572, allocations: 43.95 kB / 0.5601 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.5574, allocations: 88.77 kB / 0.5602 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-05/0.5575, allocations: 31.94 kB / 0.5602 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003128/0.5578, allocations: 271.1 kB / 0.5605 GB, free: 13.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5578, allocations: 0 / 0.5605 GB, free: 13.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001075/0.5589, allocations: 308 kB / 0.5608 GB, free: 13.63 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001833/0.5591, allocations: 127 kB / 0.5609 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.5612, allocations: 1.402 MB / 0.5622 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.5612, allocations: 4.125 kB / 0.5623 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.5623, allocations: 0.844 MB / 0.5631 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.563, allocations: 106.6 kB / 0.5632 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.5658, allocations: 1.822 MB / 0.565 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/0.5665, allocations: 1.079 MB / 0.566 GB, free: 8.113 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000425/0.5669, allocations: 188.7 kB / 0.5662 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.5671, allocations: 67.41 kB / 0.5663 GB, free: 7.863 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5671, allocations: 0 / 0.5663 GB, free: 7.863 MB / 430.1 MB Notification: Performance of Templates: time 0.01662/0.5837, allocations: 10.35 MB / 0.5764 GB, free: 13.51 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches