Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.00182/0.00182, allocations: 194.9 kB / 18 MB, free: 5.172 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.515/1.515, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1855/0.1855, allocations: 38.05 MB / 329.9 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 458.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3931, allocations: 58.05 MB / 0.5041 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01012/0.4033, allocations: 8.924 MB / 0.5128 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006523/0.4099, allocations: 3.036 MB / 0.5158 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.4112, allocations: 34.06 kB / 0.5158 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003728/0.415, allocations: 1.075 MB / 0.5169 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.4177, allocations: 0.628 MB / 0.5175 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.4206, allocations: 0.7265 MB / 0.5182 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00378/0.4244, allocations: 1.627 MB / 0.5198 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.4266, allocations: 0.9043 MB / 0.5207 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.429, allocations: 0.7289 MB / 0.5214 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.4315, allocations: 0.9341 MB / 0.5223 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006985/0.4322, allocations: 103.5 kB / 0.5224 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.4343, allocations: 461.1 kB / 0.5228 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.4358, allocations: 0.6631 MB / 0.5235 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002416/0.4382, allocations: 0.7085 MB / 0.5242 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004845/0.443, allocations: 1.799 MB / 0.5259 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4431, allocations: 1.25 kB / 0.5259 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4431, allocations: 0 / 0.5259 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001304/0.4432, allocations: 0 / 0.5259 GB, free: 10.84 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.007223/0.4504, allocations: 1.685 MB / 0.5276 GB, free: 9.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4505, allocations: 12.98 kB / 0.5276 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/0.4528, allocations: 279 kB / 0.5279 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.4553, allocations: 0.8912 MB / 0.5287 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-05/0.4554, allocations: 87.08 kB / 0.5288 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/0.4558, allocations: 161.1 kB / 0.529 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/0.459, allocations: 1.842 MB / 0.5308 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.316e-05/0.4591, allocations: 12.78 kB / 0.5308 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.4592, allocations: 57.25 kB / 0.5308 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002951/0.4595, allocations: 101.7 kB / 0.5309 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.4623, allocations: 1.49 MB / 0.5324 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.4733, allocations: 8.264 MB / 0.5405 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.4749, allocations: 1.169 MB / 0.5416 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007207/0.4757, allocations: 492.4 kB / 0.5421 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.69e-05/0.4757, allocations: 17.5 kB / 0.5421 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.4758, allocations: 47.81 kB / 0.5421 GB, free: 14.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.266e-06/0.4758, allocations: 0 / 0.5421 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.004492/0.4803, allocations: 2.468 MB / 0.5445 GB, free: 13.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.4804, allocations: 89.95 kB / 0.5446 GB, free: 13.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.4816, allocations: 0.8219 MB / 0.5454 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.4817, allocations: 41.83 kB / 0.5455 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005672/0.4822, allocations: 0.7048 MB / 0.5462 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.4825, allocations: 317.5 kB / 0.5465 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000417/0.483, allocations: 262.1 kB / 0.5467 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.4832, allocations: 410.4 kB / 0.5471 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007478/0.4839, allocations: 453.6 kB / 0.5475 GB, free: 11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.4851, allocations: 1.008 MB / 0.5485 GB, free: 10.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.487, allocations: 1.585 MB / 0.5501 GB, free: 8.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.4871, allocations: 8 kB / 0.5501 GB, free: 8.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003128/0.4902, allocations: 1.773 MB / 0.5518 GB, free: 6.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.4902, allocations: 12 kB / 0.5518 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001667/0.4919, allocations: 0.9812 MB / 0.5528 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008876/0.4928, allocations: 246.4 kB / 0.553 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.4938, allocations: 307.5 kB / 0.5533 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004795/0.4986, allocations: 5.196 MB / 0.5584 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.4998, allocations: 55.94 kB / 0.5584 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.4999, allocations: 68 kB / 0.5585 GB, free: 15.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007891/0.5007, allocations: 429.2 kB / 0.5589 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.5009, allocations: 103.3 kB / 0.559 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.5024, allocations: 0.9492 MB / 0.5599 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.5025, allocations: 16 kB / 0.5599 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5025, allocations: 3.938 kB / 0.5599 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5025, allocations: 7.922 kB / 0.56 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/0.5061, allocations: 2.118 MB / 0.562 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5061, allocations: 7.938 kB / 0.562 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000867/0.507, allocations: 183.8 kB / 0.5622 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.507, allocations: 4 kB / 0.5622 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.5071, allocations: 23.98 kB / 0.5622 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.5071, allocations: 12.19 kB / 0.5622 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5071, allocations: 4 kB / 0.5622 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.5089, allocations: 1.41 MB / 0.5636 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.5092, allocations: 172.6 kB / 0.5638 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.5093, allocations: 23.98 kB / 0.5638 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.5097, allocations: 23.92 kB / 0.5638 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/0.5098, allocations: 56.56 kB / 0.5639 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.5099, allocations: 27.98 kB / 0.5639 GB, free: 9.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006978/0.5106, allocations: 0.5458 MB / 0.5644 GB, free: 8.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5106, allocations: 0 / 0.5644 GB, free: 8.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001204/0.5118, allocations: 292 kB / 0.5647 GB, free: 8.559 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * 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 (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001805/0.512, allocations: 123.1 kB / 0.5648 GB, free: 8.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.5143, allocations: 1.469 MB / 0.5663 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5143, allocations: 0 / 0.5663 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005423/0.5148, allocations: 413.2 kB / 0.5667 GB, free: 6.512 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009041/0.5157, allocations: 173.6 kB / 0.5668 GB, free: 6.348 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.52, allocations: 2.758 MB / 0.5695 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008748/0.5209, allocations: 1.243 MB / 0.5707 GB, free: 2.258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009281/0.5218, allocations: 420.7 kB / 0.5711 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.5221, allocations: 83.42 kB / 0.5712 GB, free: 1.762 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5221, allocations: 0 / 0.5712 GB, free: 1.762 MB / 430.1 MB Notification: Performance of Templates: time 0.01949/0.5416, allocations: 11.09 MB / 0.5821 GB, free: 6.742 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches