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.001149/0.001149, allocations: 115.4 kB / 17.07 MB, free: 6 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.001027/0.001027, allocations: 190.9 kB / 18 MB, free: 5.082 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.425/1.425, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1778/0.1778, allocations: 38.04 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.001461, allocations: 71.89 kB / 458.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.43, allocations: 58.04 MB / 0.5041 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007187/0.4372, allocations: 7.691 MB / 0.5116 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006012/0.4433, allocations: 4.735 MB / 0.5162 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.444, allocations: 13.66 kB / 0.5162 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002942/0.4469, allocations: 1.081 MB / 0.5173 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004433/0.4514, allocations: 1.278 MB / 0.5186 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.4529, allocations: 367.1 kB / 0.5189 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.4562, allocations: 1.464 MB / 0.5203 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.4573, allocations: 0.6603 MB / 0.521 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.4586, allocations: 0.6514 MB / 0.5216 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.4598, allocations: 0.7031 MB / 0.5223 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.4599, allocations: 65.94 kB / 0.5224 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.4634, allocations: 1.433 MB / 0.5238 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007383/0.4641, allocations: 498.8 kB / 0.5242 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006179/0.4647, allocations: 461.8 kB / 0.5247 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003561/0.4683, allocations: 1.533 MB / 0.5262 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4683, allocations: 0 / 0.5262 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4684, allocations: 0 / 0.5262 GB, free: 10.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.4684, allocations: 0 / 0.5262 GB, free: 10.57 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.002281/0.4707, allocations: 1.164 MB / 0.5273 GB, free: 9.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4707, allocations: 12.67 kB / 0.5273 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.4743, allocations: 420 kB / 0.5277 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/0.4752, allocations: 495.3 kB / 0.5282 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.556e-05/0.4753, allocations: 59.73 kB / 0.5283 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.4754, allocations: 78.03 kB / 0.5283 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.4775, allocations: 1.233 MB / 0.5295 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.4776, allocations: 1 kB / 0.5295 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/0.4777, allocations: 30.52 kB / 0.5296 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.4778, allocations: 78.17 kB / 0.5296 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.4799, allocations: 1.314 MB / 0.5309 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.4857, allocations: 3.681 MB / 0.5345 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.4878, allocations: 1.091 MB / 0.5356 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.4888, allocations: 0.6382 MB / 0.5362 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.112e-05/0.4889, allocations: 18.66 kB / 0.5362 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.4889, allocations: 44.34 kB / 0.5363 GB, free: 4.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 3.357e-06/0.489, allocations: 0 / 0.5363 GB, free: 4.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.007518/0.4965, allocations: 3.154 MB / 0.5393 GB, free: 2.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.4966, allocations: 87.61 kB / 0.5394 GB, free: 2.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005159/0.4971, allocations: 378 kB / 0.5398 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.4972, allocations: 44.67 kB / 0.5398 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.4974, allocations: 320.5 kB / 0.5401 GB, free: 2.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.4978, allocations: 320.2 kB / 0.5404 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.498, allocations: 162.1 kB / 0.5406 GB, free: 1.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4983, allocations: 369.9 kB / 0.5409 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.499, allocations: 465 kB / 0.5414 GB, free: 1.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008021/0.4998, allocations: 0.5831 MB / 0.542 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.5014, allocations: 1.113 MB / 0.543 GB, free: 364 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5014, allocations: 0 / 0.543 GB, free: 364 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002545/0.5039, allocations: 1.485 MB / 0.5445 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.504, allocations: 8 kB / 0.5445 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.504, allocations: 7.922 kB / 0.5445 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000947/0.5049, allocations: 336.8 kB / 0.5448 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.5056, allocations: 183.7 kB / 0.545 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005303/0.5109, allocations: 4.17 MB / 0.5491 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/0.5117, allocations: 43.95 kB / 0.5491 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/0.5118, allocations: 39.98 kB / 0.5492 GB, free: 9.914 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.0006518/0.5125, allocations: 297.5 kB / 0.5494 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.5126, allocations: 55.34 kB / 0.5495 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/0.5156, allocations: 1.559 MB / 0.551 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.5156, allocations: 11.98 kB / 0.551 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.5156, allocations: 8 kB / 0.551 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.5156, allocations: 3.984 kB / 0.551 GB, free: 7.961 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.00536/0.521, allocations: 3.008 MB / 0.554 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.521, allocations: 4 kB / 0.554 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.5217, allocations: 168.1 kB / 0.5541 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008765/0.5226, allocations: 280.6 kB / 0.5544 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.5227, allocations: 31.98 kB / 0.5544 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005338/0.528, allocations: 3.901 MB / 0.5583 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.5281, allocations: 4 kB / 0.5583 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.5307, allocations: 1.578 MB / 0.5598 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.5311, allocations: 148.3 kB / 0.5599 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-05/0.5312, allocations: 24 kB / 0.56 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.5316, allocations: 43.91 kB / 0.56 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.5318, allocations: 84.77 kB / 0.5601 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/0.5319, allocations: 35.98 kB / 0.5601 GB, free: 14.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003417/0.5322, allocations: 271.1 kB / 0.5604 GB, free: 14.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5322, allocations: 0 / 0.5604 GB, free: 14.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001272/0.5335, allocations: 308 kB / 0.5607 GB, free: 13.73 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.0002571/0.5338, allocations: 127 kB / 0.5608 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002297/0.5361, allocations: 1.402 MB / 0.5622 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5361, allocations: 0 / 0.5622 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.5374, allocations: 0.8437 MB / 0.563 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/0.5381, allocations: 101.1 kB / 0.5631 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.5413, allocations: 1.806 MB / 0.5648 GB, free: 9.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007344/0.542, allocations: 1.087 MB / 0.5659 GB, free: 8.238 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004197/0.5424, allocations: 180.7 kB / 0.5661 GB, free: 8.062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.5426, allocations: 67.41 kB / 0.5661 GB, free: 7.996 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5426, allocations: 0 / 0.5661 GB, free: 7.996 MB / 430.1 MB Notification: Performance of Templates: time 0.01708/0.5597, allocations: 10.35 MB / 0.5763 GB, free: 13.65 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