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.001577/0.001577, allocations: 109.2 kB / 17.74 MB, free: 5.332 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.001832/0.001832, allocations: 188.3 kB / 18.68 MB, free: 4.406 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.378/1.378, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1757/0.1757, allocations: 38.03 MB / 330.6 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 64.08 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2916, allocations: 58.05 MB / 0.5048 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.007445/0.299, allocations: 8.936 MB / 0.5135 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004407/0.3035, allocations: 3.03 MB / 0.5165 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/0.3039, allocations: 33.56 kB / 0.5165 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.3065, allocations: 1.086 MB / 0.5176 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.3077, allocations: 0.6261 MB / 0.5182 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.3095, allocations: 0.7234 MB / 0.5189 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001999/0.3115, allocations: 1.628 MB / 0.5205 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.3126, allocations: 0.9059 MB / 0.5213 GB, free: 13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009703/0.3136, allocations: 0.7396 MB / 0.5221 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.3148, allocations: 0.9369 MB / 0.523 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.315, allocations: 103.5 kB / 0.5231 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008455/0.3159, allocations: 453.9 kB / 0.5235 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006201/0.3165, allocations: 0.6627 MB / 0.5242 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000707/0.3172, allocations: 0.7139 MB / 0.5249 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.3191, allocations: 1.788 MB / 0.5266 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3191, allocations: 0 / 0.5266 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3191, allocations: 1.344 kB / 0.5266 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.3192, allocations: 0 / 0.5266 GB, free: 10.9 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.002989/0.3222, allocations: 1.65 MB / 0.5282 GB, free: 9.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3222, allocations: 12.86 kB / 0.5282 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.3238, allocations: 268.1 kB / 0.5285 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.3254, allocations: 0.8866 MB / 0.5293 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.728e-05/0.3255, allocations: 94.3 kB / 0.5294 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003316/0.3258, allocations: 153.2 kB / 0.5296 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.3284, allocations: 1.856 MB / 0.5314 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/0.3285, allocations: 8.594 kB / 0.5314 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.3286, allocations: 49.91 kB / 0.5315 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003026/0.3289, allocations: 97.41 kB / 0.5315 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/0.3313, allocations: 1.494 MB / 0.533 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.3429, allocations: 8.254 MB / 0.5411 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.3451, allocations: 1.174 MB / 0.5422 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.3462, allocations: 487.3 kB / 0.5427 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.76e-05/0.3463, allocations: 14.77 kB / 0.5427 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.3464, allocations: 42.59 kB / 0.5427 GB, free: 14.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 4.037e-06/0.3464, allocations: 0 / 0.5427 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.006148/0.3526, allocations: 2.442 MB / 0.5451 GB, free: 13.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.3527, allocations: 85.7 kB / 0.5452 GB, free: 13.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.3542, allocations: 0.83 MB / 0.546 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/0.3543, allocations: 36.14 kB / 0.546 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/0.355, allocations: 0.6766 MB / 0.5467 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003953/0.3554, allocations: 307.8 kB / 0.547 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.3559, allocations: 258.1 kB / 0.5472 GB, free: 11.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002862/0.3563, allocations: 414.4 kB / 0.5476 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.3575, allocations: 452.1 kB / 0.5481 GB, free: 11.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.3594, allocations: 1.005 MB / 0.5491 GB, free: 10.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00359/0.363, allocations: 1.581 MB / 0.5506 GB, free: 8.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.363, allocations: 8 kB / 0.5506 GB, free: 8.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005712/0.3688, allocations: 1.775 MB / 0.5523 GB, free: 6.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.3688, allocations: 15.59 kB / 0.5524 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003299/0.3721, allocations: 0.9851 MB / 0.5533 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.3738, allocations: 246.3 kB / 0.5535 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/0.3758, allocations: 319.5 kB / 0.5539 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008114/0.3839, allocations: 5.18 MB / 0.5589 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.3854, allocations: 51.98 kB / 0.559 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.3857, allocations: 67.98 kB / 0.559 GB, free: 15.15 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.001103/0.3868, allocations: 429.2 kB / 0.5594 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/0.3871, allocations: 102.7 kB / 0.5595 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/0.3899, allocations: 0.953 MB / 0.5605 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.39, allocations: 7.984 kB / 0.5605 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.39, allocations: 3.984 kB / 0.5605 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.3904, allocations: 159.8 kB / 0.5606 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.3906, allocations: 23.98 kB / 0.5607 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007736/0.3914, allocations: 23.98 kB / 0.5607 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.3916, allocations: 48.94 kB / 0.5607 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00394/0.3955, allocations: 1.141 MB / 0.5618 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003696/0.3993, allocations: 1.598 MB / 0.5634 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009539/0.4002, allocations: 407.7 kB / 0.5638 GB, free: 10.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001326/0.4016, allocations: 0.5419 MB / 0.5643 GB, free: 9.676 MB / 430.1 MB Notification: Performance of Backend: time 9.21e-07/0.4016, allocations: 4 kB / 0.5643 GB, free: 9.672 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004963/0.4066, allocations: 1.387 MB / 0.5657 GB, free: 8.238 MB / 430.1 MB Notification: Performance of SimCode: time 0.007522/0.4141, allocations: 2.999 MB / 0.5686 GB, free: 5.188 MB / 430.1 MB Notification: Performance of Templates: time 0.03723/0.4514, allocations: 15.14 MB / 0.5834 GB, free: 6.105 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches