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.001642/0.001642, allocations: 112.4 kB / 17.06 MB, free: 5.809 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.002006/0.002006, allocations: 200 kB / 18 MB, free: 4.949 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.472/1.472, 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.1839/0.1839, allocations: 38.05 MB / 329.9 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 458.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4489, allocations: 58.05 MB / 0.5041 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008577/0.4575, allocations: 8.918 MB / 0.5128 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004982/0.4626, allocations: 3.044 MB / 0.5158 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005432/0.4631, allocations: 32.91 kB / 0.5158 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.4658, allocations: 1.079 MB / 0.5169 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.4674, allocations: 0.6303 MB / 0.5175 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.4695, allocations: 0.7168 MB / 0.5182 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002545/0.472, allocations: 1.635 MB / 0.5198 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.4732, allocations: 0.9005 MB / 0.5207 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.4745, allocations: 0.7391 MB / 0.5214 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.4759, allocations: 0.9411 MB / 0.5223 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.4761, allocations: 103.5 kB / 0.5224 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.4771, allocations: 457.2 kB / 0.5228 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007303/0.4779, allocations: 0.6636 MB / 0.5235 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008772/0.4788, allocations: 0.7123 MB / 0.5242 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.481, allocations: 1.786 MB / 0.5259 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4811, allocations: 0 / 0.5259 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4811, allocations: 0 / 0.5259 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.4811, allocations: 4 kB / 0.5259 GB, free: 11.1 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.003105/0.4842, allocations: 1.646 MB / 0.5275 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4843, allocations: 12.14 kB / 0.5276 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.4859, allocations: 276.6 kB / 0.5278 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.4876, allocations: 0.8866 MB / 0.5287 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/0.4877, allocations: 90.45 kB / 0.5288 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000357/0.488, allocations: 147.5 kB / 0.5289 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/0.4909, allocations: 1.855 MB / 0.5307 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.4909, allocations: 9.625 kB / 0.5307 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.4911, allocations: 49.31 kB / 0.5308 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002748/0.4914, allocations: 98.72 kB / 0.5309 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.4937, allocations: 1.489 MB / 0.5323 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008949/0.5027, allocations: 8.259 MB / 0.5404 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.5041, allocations: 1.172 MB / 0.5415 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.5048, allocations: 491.7 kB / 0.542 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-05/0.5049, allocations: 18.25 kB / 0.542 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.5049, allocations: 42.72 kB / 0.5421 GB, free: 15.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.336e-06/0.5049, allocations: 4.844 kB / 0.5421 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.004178/0.5091, allocations: 2.429 MB / 0.5444 GB, free: 13.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.5092, allocations: 90.3 kB / 0.5445 GB, free: 13.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.5104, allocations: 0.823 MB / 0.5453 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.5105, allocations: 40.34 kB / 0.5454 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/0.511, allocations: 0.6761 MB / 0.546 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.5113, allocations: 312 kB / 0.5463 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004002/0.5117, allocations: 253.3 kB / 0.5466 GB, free: 12.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002465/0.5119, allocations: 418.7 kB / 0.547 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007698/0.5127, allocations: 460.1 kB / 0.5474 GB, free: 11.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.5139, allocations: 0.9996 MB / 0.5484 GB, free: 10.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.5157, allocations: 1.592 MB / 0.5499 GB, free: 8.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.5157, allocations: 4 kB / 0.5499 GB, free: 8.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002897/0.5186, allocations: 1.771 MB / 0.5517 GB, free: 6.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.5186, allocations: 12 kB / 0.5517 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001646/0.5203, allocations: 0.9897 MB / 0.5526 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000899/0.5212, allocations: 246.3 kB / 0.5529 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.5223, allocations: 303.5 kB / 0.5532 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005798/0.5281, allocations: 5.188 MB / 0.5582 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.5292, allocations: 55.98 kB / 0.5583 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.5293, allocations: 71.98 kB / 0.5584 GB, free: 15.29 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.0008335/0.5302, allocations: 425.1 kB / 0.5588 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.5303, allocations: 94.78 kB / 0.5589 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.5319, allocations: 0.9532 MB / 0.5598 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.5319, allocations: 8 kB / 0.5598 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.5319, allocations: 7.938 kB / 0.5598 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5319, allocations: 3.984 kB / 0.5598 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.5356, allocations: 2.133 MB / 0.5619 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5356, allocations: 192 / 0.5619 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008325/0.5364, allocations: 187.7 kB / 0.5621 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.5365, allocations: 4 kB / 0.5621 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.5365, allocations: 23.98 kB / 0.5621 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.5365, allocations: 8 kB / 0.5621 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5365, allocations: 0 / 0.5621 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.5384, allocations: 1.406 MB / 0.5635 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.5386, allocations: 163.9 kB / 0.5636 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.5387, allocations: 20 kB / 0.5637 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.5391, allocations: 23.98 kB / 0.5637 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.5392, allocations: 64.55 kB / 0.5637 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.5393, allocations: 20 kB / 0.5638 GB, free: 9.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006463/0.5399, allocations: 0.5458 MB / 0.5643 GB, free: 9.074 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5399, allocations: 0 / 0.5643 GB, free: 9.074 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00116/0.5411, allocations: 292 kB / 0.5646 GB, free: 8.789 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.0001829/0.5413, allocations: 131 kB / 0.5647 GB, free: 8.648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002122/0.5434, allocations: 1.459 MB / 0.5661 GB, free: 7.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.5434, allocations: 4.188 kB / 0.5661 GB, free: 7.148 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005592/0.544, allocations: 407.4 kB / 0.5665 GB, free: 6.746 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008433/0.5449, allocations: 186.8 kB / 0.5667 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.5487, allocations: 2.712 MB / 0.5693 GB, free: 3.812 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.55, allocations: 1.247 MB / 0.5706 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009678/0.551, allocations: 420.7 kB / 0.571 GB, free: 2.117 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.5512, allocations: 87.42 kB / 0.571 GB, free: 2.031 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5512, allocations: 0 / 0.571 GB, free: 2.031 MB / 430.1 MB Notification: Performance of Templates: time 0.01903/0.5703, allocations: 11.08 MB / 0.5819 GB, free: 7.023 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