Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 108.9 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.001228/0.001228, allocations: 196 kB / 18.01 MB, free: 5.055 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.446/1.446, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2122/0.2122, allocations: 38.05 MB / 329.9 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 63.89 kB / 458.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4381, allocations: 58.05 MB / 0.5041 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.008564/0.4467, allocations: 7.556 MB / 0.5115 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006181/0.4529, allocations: 4.154 MB / 0.5156 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000477/0.4534, allocations: 12.91 kB / 0.5156 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002831/0.4563, allocations: 1.033 MB / 0.5166 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.4596, allocations: 1.102 MB / 0.5177 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.4607, allocations: 300.6 kB / 0.5179 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002314/0.463, allocations: 1.368 MB / 0.5193 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009971/0.464, allocations: 460.7 kB / 0.5197 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.4651, allocations: 0.5578 MB / 0.5203 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.4663, allocations: 0.5868 MB / 0.5208 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/0.4663, allocations: 35.72 kB / 0.5209 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.4685, allocations: 0.9817 MB / 0.5218 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005562/0.4691, allocations: 273.5 kB / 0.5221 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003703/0.4695, allocations: 248.2 kB / 0.5223 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.4712, allocations: 0.8193 MB / 0.5231 GB, free: 11.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4712, allocations: 9.312 kB / 0.5231 GB, free: 11.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4712, allocations: 0 / 0.5231 GB, free: 11.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4712, allocations: 0 / 0.5231 GB, free: 11.97 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001531/0.4728, allocations: 0.8124 MB / 0.5239 GB, free: 11.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.4728, allocations: 11.09 kB / 0.5239 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.4744, allocations: 138.5 kB / 0.5241 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.475, allocations: 334.8 kB / 0.5244 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.4751, allocations: 35.33 kB / 0.5244 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.4752, allocations: 33.19 kB / 0.5245 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.4762, allocations: 0.5912 MB / 0.525 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.4762, allocations: 5.312 kB / 0.525 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.4763, allocations: 25.47 kB / 0.5251 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.037e-05/0.4764, allocations: 32.62 kB / 0.5251 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006309/0.477, allocations: 384.9 kB / 0.5255 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.4802, allocations: 2.593 MB / 0.528 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007284/0.4809, allocations: 433.2 kB / 0.5284 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.4813, allocations: 203.8 kB / 0.5286 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.4813, allocations: 7.234 kB / 0.5286 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.169e-05/0.4814, allocations: 42.67 kB / 0.5286 GB, free: 8.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.634e-06/0.4814, allocations: 0 / 0.5286 GB, free: 8.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001887/0.4833, allocations: 0.7637 MB / 0.5294 GB, free: 7.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.4834, allocations: 105.7 kB / 0.5295 GB, free: 7.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.4838, allocations: 328.9 kB / 0.5298 GB, free: 7.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.4838, allocations: 30.89 kB / 0.5298 GB, free: 7.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.484, allocations: 260.5 kB / 0.5301 GB, free: 7.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.4842, allocations: 119.7 kB / 0.5302 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4843, allocations: 80.17 kB / 0.5303 GB, free: 6.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4845, allocations: 352 kB / 0.5306 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.4847, allocations: 128.9 kB / 0.5307 GB, free: 6.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.4851, allocations: 278.1 kB / 0.531 GB, free: 6.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.4857, allocations: 460.8 kB / 0.5314 GB, free: 6.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4858, allocations: 2.188 kB / 0.5314 GB, free: 6.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001025/0.4868, allocations: 0.5584 MB / 0.532 GB, free: 5.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.4868, allocations: 7.812 kB / 0.532 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4868, allocations: 6 kB / 0.532 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/0.4872, allocations: 124.5 kB / 0.5321 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.4875, allocations: 72 kB / 0.5322 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.4906, allocations: 2.573 MB / 0.5347 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.4909, allocations: 48.77 kB / 0.5347 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.491, allocations: 15.62 kB / 0.5348 GB, free: 3.699 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.4912, allocations: 202 kB / 0.535 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.4913, allocations: 36.98 kB / 0.535 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.4914, allocations: 50.81 kB / 0.535 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4915, allocations: 4.094 kB / 0.535 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.4915, allocations: 2.344 kB / 0.535 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4915, allocations: 9.031 kB / 0.5351 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.4929, allocations: 0.945 MB / 0.536 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4929, allocations: 2.188 kB / 0.536 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.4931, allocations: 34.67 kB / 0.536 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002697/0.4934, allocations: 110.2 kB / 0.5361 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.4934, allocations: 7.469 kB / 0.5361 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002738/0.4962, allocations: 2.562 MB / 0.5386 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4962, allocations: 5.125 kB / 0.5386 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000836/0.497, allocations: 0.6323 MB / 0.5392 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.4972, allocations: 114.3 kB / 0.5394 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.4972, allocations: 11.03 kB / 0.5394 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.4974, allocations: 6.219 kB / 0.5394 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.4975, allocations: 27.14 kB / 0.5394 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.4975, allocations: 7.062 kB / 0.5394 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002936/0.4978, allocations: 224.5 kB / 0.5396 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4978, allocations: 3.938 kB / 0.5396 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007995/0.4986, allocations: 156.4 kB / 0.5398 GB, free: 15.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.4988, allocations: 110.7 kB / 0.5399 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009713/0.4997, allocations: 0.5099 MB / 0.5404 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4998, allocations: 1.312 kB / 0.5404 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.5003, allocations: 352.3 kB / 0.5407 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.5009, allocations: 64.33 kB / 0.5408 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.5024, allocations: 0.8252 MB / 0.5416 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.5029, allocations: 0.8835 MB / 0.5424 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.5031, allocations: 77.44 kB / 0.5425 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.5032, allocations: 23.34 kB / 0.5425 GB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5032, allocations: 0 / 0.5425 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Templates: time 0.009357/0.5126, allocations: 3.851 MB / 0.5463 GB, free: 11.77 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches