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.001168/0.001168, allocations: 108.8 kB / 17.06 MB, free: 6.023 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.001058/0.001058, allocations: 191 kB / 18 MB, free: 5.109 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.424/1.424, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2302/0.2302, allocations: 38.04 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 60.09 kB / 458.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4632, allocations: 58.06 MB / 0.5041 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009871/0.4731, allocations: 7.546 MB / 0.5115 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007195/0.4803, allocations: 4.163 MB / 0.5156 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.4814, allocations: 12.62 kB / 0.5156 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.4847, allocations: 1.04 MB / 0.5166 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005071/0.4898, allocations: 1.116 MB / 0.5177 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.4912, allocations: 298.5 kB / 0.518 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002837/0.4941, allocations: 1.369 MB / 0.5193 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.4953, allocations: 459.7 kB / 0.5197 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.497, allocations: 0.5739 MB / 0.5203 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.4981, allocations: 0.5803 MB / 0.5209 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.395e-05/0.4982, allocations: 34.53 kB / 0.5209 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.501, allocations: 0.9865 MB / 0.5219 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006674/0.5016, allocations: 276.7 kB / 0.5221 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.5021, allocations: 244 kB / 0.5223 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.5045, allocations: 0.8212 MB / 0.5231 GB, free: 11.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5045, allocations: 0 / 0.5231 GB, free: 11.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5045, allocations: 0 / 0.5231 GB, free: 11.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.5045, allocations: 0 / 0.5231 GB, free: 11.91 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.001615/0.5062, allocations: 0.7991 MB / 0.5239 GB, free: 11.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5062, allocations: 9.625 kB / 0.5239 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.5079, allocations: 140.4 kB / 0.5241 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/0.5085, allocations: 330.1 kB / 0.5244 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.5085, allocations: 29.95 kB / 0.5244 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.5086, allocations: 33.53 kB / 0.5244 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.5097, allocations: 0.5914 MB / 0.525 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5098, allocations: 6.312 kB / 0.525 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.5098, allocations: 20.61 kB / 0.5251 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.473e-05/0.5099, allocations: 37.56 kB / 0.5251 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006582/0.5106, allocations: 379.1 kB / 0.5254 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.5138, allocations: 2.589 MB / 0.528 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.5147, allocations: 434.4 kB / 0.5284 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.5151, allocations: 205.1 kB / 0.5286 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.5151, allocations: 10.67 kB / 0.5286 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.5152, allocations: 42.31 kB / 0.5286 GB, free: 7.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.816e-06/0.5152, allocations: 3.938 kB / 0.5286 GB, free: 7.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.002051/0.5173, allocations: 0.7587 MB / 0.5294 GB, free: 7.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.5174, allocations: 110.5 kB / 0.5295 GB, free: 7.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.5178, allocations: 320.8 kB / 0.5298 GB, free: 7.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.5179, allocations: 31.92 kB / 0.5298 GB, free: 7.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.5181, allocations: 254.8 kB / 0.5301 GB, free: 7.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.5183, allocations: 114.9 kB / 0.5302 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.5184, allocations: 80.25 kB / 0.5303 GB, free: 6.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.5186, allocations: 356.1 kB / 0.5306 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.5189, allocations: 128.1 kB / 0.5307 GB, free: 6.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.5193, allocations: 275.8 kB / 0.531 GB, free: 6.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.52, allocations: 461.1 kB / 0.5314 GB, free: 6.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.52, allocations: 1.25 kB / 0.5314 GB, free: 6.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001039/0.521, allocations: 0.5542 MB / 0.532 GB, free: 5.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.521, allocations: 7.938 kB / 0.532 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.5211, allocations: 5.438 kB / 0.532 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005071/0.5216, allocations: 125 kB / 0.5321 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.5219, allocations: 78.81 kB / 0.5322 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/0.5252, allocations: 2.562 MB / 0.5347 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.5256, allocations: 48.09 kB / 0.5347 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.5256, allocations: 20.38 kB / 0.5347 GB, free: 3.707 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.0002931/0.5259, allocations: 199.5 kB / 0.5349 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.526, allocations: 41.02 kB / 0.535 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/0.5261, allocations: 50.02 kB / 0.535 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.5261, allocations: 3.344 kB / 0.535 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.5261, allocations: 3.438 kB / 0.535 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5261, allocations: 9.125 kB / 0.535 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.5276, allocations: 0.9373 MB / 0.5359 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.5276, allocations: 1.312 kB / 0.5359 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.5278, allocations: 35.02 kB / 0.536 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/0.5281, allocations: 117.1 kB / 0.5361 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.5281, allocations: 6.5 kB / 0.5361 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002866/0.531, allocations: 2.554 MB / 0.5386 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.531, allocations: 1.031 kB / 0.5386 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008924/0.5319, allocations: 0.6365 MB / 0.5392 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.532, allocations: 113.7 kB / 0.5393 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.5321, allocations: 15.06 kB / 0.5393 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5323, allocations: 7 kB / 0.5393 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.5323, allocations: 26.3 kB / 0.5394 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.5324, allocations: 10.77 kB / 0.5394 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.5327, allocations: 224.5 kB / 0.5396 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5327, allocations: 1.062 kB / 0.5396 GB, free: 15.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008246/0.5335, allocations: 159.7 kB / 0.5397 GB, free: 15.72 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.000145/0.5336, allocations: 102.4 kB / 0.5398 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009528/0.5346, allocations: 0.5182 MB / 0.5403 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5346, allocations: 0 / 0.5403 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004794/0.5351, allocations: 345.5 kB / 0.5407 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.5357, allocations: 64.53 kB / 0.5407 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.5372, allocations: 0.8074 MB / 0.5415 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.5378, allocations: 0.8836 MB / 0.5424 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.538, allocations: 73.11 kB / 0.5425 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.5381, allocations: 22.97 kB / 0.5425 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5381, allocations: 0 / 0.5425 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Templates: time 0.008838/0.5469, allocations: 3.861 MB / 0.5463 GB, free: 11.81 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