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.00159/0.00159, allocations: 106.4 kB / 17.74 MB, free: 5.348 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.001894/0.001894, allocations: 185.4 kB / 18.67 MB, free: 4.43 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.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1773/0.1773, allocations: 38.04 MB / 330.6 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.88 kB / 458.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3729, allocations: 58.06 MB / 0.5048 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008155/0.3811, allocations: 7.687 MB / 0.5123 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006501/0.3876, allocations: 4.736 MB / 0.5169 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005585/0.3882, allocations: 13.16 kB / 0.5169 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.3912, allocations: 1.079 MB / 0.518 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003405/0.3946, allocations: 1.283 MB / 0.5192 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.3958, allocations: 362.4 kB / 0.5196 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.3982, allocations: 1.466 MB / 0.521 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.3994, allocations: 0.6681 MB / 0.5216 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.4008, allocations: 0.6453 MB / 0.5223 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.4021, allocations: 0.6991 MB / 0.523 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.4023, allocations: 69.34 kB / 0.523 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.4055, allocations: 1.432 MB / 0.5244 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008587/0.4064, allocations: 499.7 kB / 0.5249 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.4075, allocations: 455.6 kB / 0.5253 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.4117, allocations: 1.539 MB / 0.5268 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4117, allocations: 0 / 0.5268 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4117, allocations: 1.031 kB / 0.5268 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.251e-05/0.4118, allocations: 0 / 0.5268 GB, free: 10.59 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.004146/0.416, allocations: 1.167 MB / 0.528 GB, free: 9.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.845e-05/0.416, allocations: 13.23 kB / 0.528 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/0.4205, allocations: 409.9 kB / 0.5284 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.4219, allocations: 0.4958 MB / 0.5289 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.4219, allocations: 56.42 kB / 0.5289 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/0.4222, allocations: 73.3 kB / 0.529 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.425, allocations: 1.232 MB / 0.5302 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.4251, allocations: 5.953 kB / 0.5302 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.4252, allocations: 26.06 kB / 0.5302 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.4253, allocations: 78.19 kB / 0.5303 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.4278, allocations: 1.31 MB / 0.5316 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006837/0.4346, allocations: 3.684 MB / 0.5352 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.4367, allocations: 1.087 MB / 0.5362 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009553/0.4377, allocations: 0.6416 MB / 0.5369 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.563e-05/0.4377, allocations: 19.42 kB / 0.5369 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.4378, allocations: 47.75 kB / 0.5369 GB, free: 4.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 4.9e-06/0.4378, allocations: 0 / 0.5369 GB, free: 4.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.007756/0.4456, allocations: 3.147 MB / 0.54 GB, free: 3.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.4457, allocations: 91.86 kB / 0.5401 GB, free: 2.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.4463, allocations: 382 kB / 0.5405 GB, free: 2.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.4464, allocations: 41.42 kB / 0.5405 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.4466, allocations: 320.3 kB / 0.5408 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.4469, allocations: 327.5 kB / 0.5411 GB, free: 2.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.4472, allocations: 157.6 kB / 0.5413 GB, free: 1.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4474, allocations: 366.4 kB / 0.5416 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007397/0.4482, allocations: 465 kB / 0.5421 GB, free: 1.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009342/0.4491, allocations: 0.5744 MB / 0.5426 GB, free: 1.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.4509, allocations: 1.121 MB / 0.5437 GB, free: 348 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4509, allocations: 8 kB / 0.5437 GB, free: 340 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002627/0.4536, allocations: 1.477 MB / 0.5452 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4536, allocations: 11.94 kB / 0.5452 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4536, allocations: 4 kB / 0.5452 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.4546, allocations: 332.8 kB / 0.5455 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/0.4554, allocations: 179.7 kB / 0.5457 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00583/0.4612, allocations: 4.182 MB / 0.5497 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/0.4619, allocations: 47.95 kB / 0.5498 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.462, allocations: 35.98 kB / 0.5498 GB, free: 9.895 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.00054/0.4626, allocations: 305.6 kB / 0.5501 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.4627, allocations: 59.34 kB / 0.5502 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.4656, allocations: 1.551 MB / 0.5517 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.4656, allocations: 7.969 kB / 0.5517 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4656, allocations: 0 / 0.5517 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.4658, allocations: 144.3 kB / 0.5518 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.4659, allocations: 16 kB / 0.5519 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/0.4664, allocations: 39.95 kB / 0.5519 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.4666, allocations: 84.86 kB / 0.552 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003263/0.4699, allocations: 1.704 MB / 0.5536 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002524/0.4724, allocations: 1.911 MB / 0.5555 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007012/0.4731, allocations: 0.5308 MB / 0.556 GB, free: 3.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003182/0.4735, allocations: 263.1 kB / 0.5563 GB, free: 3.223 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.4735, allocations: 0 / 0.5563 GB, free: 3.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003977/0.4774, allocations: 1.619 MB / 0.5579 GB, free: 1.586 MB / 414.1 MB Notification: Performance of SimCode: time 0.002664/0.4801, allocations: 1.973 MB / 0.5598 GB, free: 15.56 MB / 430.1 MB Notification: Performance of Templates: time 0.02776/0.5079, allocations: 16.68 MB / 0.5761 GB, free: 14.87 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches