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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001447/0.001447, allocations: 188.9 kB / 17.27 MB, free: 4.496 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 223.1 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 98.3 kB / 270.5 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1825/0.1825, allocations: 38.01 MB / 355.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 47.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3446, allocations: 55.24 MB / 477.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01257/0.3573, allocations: 10.99 MB / 488.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008226/0.3655, allocations: 3.758 MB / 491.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.3681, allocations: 75.88 kB / 491.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.3713, allocations: 1.021 MB / 492.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.3739, allocations: 0.5782 MB / 493.5 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.3765, allocations: 0.6482 MB / 494.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004651/0.3812, allocations: 2.479 MB / 496.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.3834, allocations: 0.8793 MB / 497.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.3855, allocations: 0.6309 MB / 498.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.3883, allocations: 0.9935 MB / 499.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005817/0.3889, allocations: 72.53 kB / 499.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.3909, allocations: 470.6 kB / 499.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001407/0.3923, allocations: 0.64 MB / 0.4886 GB, free: 11.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.3945, allocations: 0.6689 MB / 0.4892 GB, free: 11.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.3977, allocations: 1.738 MB / 0.4909 GB, free: 10.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3977, allocations: 1.531 kB / 0.4909 GB, free: 10.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3977, allocations: 4 kB / 0.4909 GB, free: 10.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.545e-05/0.3978, allocations: 0 / 0.4909 GB, free: 10.2 MB / 330.7 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.004178/0.4019, allocations: 1.644 MB / 0.4925 GB, free: 8.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.402, allocations: 8.688 kB / 0.4926 GB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.4039, allocations: 276 kB / 0.4928 GB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.4058, allocations: 0.842 MB / 0.4936 GB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.4059, allocations: 89.8 kB / 0.4937 GB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/0.4062, allocations: 153.4 kB / 0.4939 GB, free: 8.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003041/0.4093, allocations: 1.849 MB / 0.4957 GB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.535e-05/0.4093, allocations: 18.16 kB / 0.4957 GB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.4095, allocations: 52.83 kB / 0.4957 GB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003231/0.4098, allocations: 97.31 kB / 0.4958 GB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.4125, allocations: 1.495 MB / 0.4973 GB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.4232, allocations: 8.282 MB / 0.5054 GB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.4246, allocations: 1.158 MB / 0.5065 GB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.4253, allocations: 499.9 kB / 0.507 GB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.55e-05/0.4253, allocations: 16.64 kB / 0.507 GB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.4254, allocations: 43.22 kB / 0.5071 GB, free: 12.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 3.346e-06/0.4254, allocations: 0 / 0.5071 GB, free: 12.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=83): time 0.004001/0.4294, allocations: 2.433 MB / 0.5094 GB, free: 9.535 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.4295, allocations: 93.83 kB / 0.5095 GB, free: 9.426 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.4305, allocations: 0.8174 MB / 0.5103 GB, free: 8.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.4305, allocations: 45.62 kB / 0.5104 GB, free: 8.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.431, allocations: 0.6841 MB / 0.511 GB, free: 7.855 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.4313, allocations: 303.8 kB / 0.5113 GB, free: 7.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/0.4316, allocations: 255.2 kB / 0.5116 GB, free: 7.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002398/0.4319, allocations: 418.7 kB / 0.512 GB, free: 6.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007148/0.4326, allocations: 459.7 kB / 0.5124 GB, free: 6.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.4338, allocations: 0.9968 MB / 0.5134 GB, free: 5.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.4358, allocations: 1.589 MB / 0.5149 GB, free: 3.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.4359, allocations: 4 kB / 0.5149 GB, free: 3.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00331/0.4392, allocations: 1.772 MB / 0.5167 GB, free: 1.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4392, allocations: 12 kB / 0.5167 GB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001747/0.441, allocations: 0.9925 MB / 0.5176 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008868/0.4419, allocations: 246.3 kB / 0.5179 GB, free: 280 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009954/0.4429, allocations: 307.5 kB / 0.5182 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/0.4475, allocations: 4.798 MB / 0.5229 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009212/0.4484, allocations: 59.89 kB / 0.5229 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.4486, allocations: 71.98 kB / 0.523 GB, free: 10.64 MB / 362.7 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.0006632/0.4492, allocations: 429.1 kB / 0.5234 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.4494, allocations: 106.6 kB / 0.5235 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.4509, allocations: 0.9454 MB / 0.5244 GB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.4509, allocations: 12 kB / 0.5244 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.4509, allocations: 0 / 0.5244 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4509, allocations: 7.984 kB / 0.5244 GB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.4545, allocations: 2.123 MB / 0.5265 GB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4545, allocations: 0 / 0.5265 GB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.4553, allocations: 184 kB / 0.5267 GB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4554, allocations: 8 kB / 0.5267 GB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.4554, allocations: 27.98 kB / 0.5267 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.4554, allocations: 8 kB / 0.5267 GB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4554, allocations: 3.938 kB / 0.5267 GB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007184/0.4626, allocations: 5.123 MB / 0.5317 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.4629, allocations: 159.9 kB / 0.5319 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.463, allocations: 27.89 kB / 0.5319 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.4634, allocations: 23.92 kB / 0.5319 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4635, allocations: 60.52 kB / 0.532 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.4635, allocations: 20.09 kB / 0.532 GB, free: 1.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006423/0.4642, allocations: 0.5458 MB / 0.5325 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4642, allocations: 4 kB / 0.5325 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001432/0.4656, allocations: 380 kB / 0.5329 GB, free: 164 kB / 362.7 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.0001927/0.4658, allocations: 122.8 kB / 0.533 GB, free: 36 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.4682, allocations: 1.454 MB / 0.5344 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4682, allocations: 3.938 kB / 0.5344 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.4688, allocations: 417 kB / 0.5348 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/0.4697, allocations: 168.2 kB / 0.535 GB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.4747, allocations: 3.732 MB / 0.5386 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009603/0.4757, allocations: 1.267 MB / 0.5399 GB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001137/0.4768, allocations: 428.7 kB / 0.5403 GB, free: 8.453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.4771, allocations: 83.42 kB / 0.5404 GB, free: 8.371 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4771, allocations: 0 / 0.5404 GB, free: 8.371 MB / 378.7 MB Notification: Performance of Templates: time 0.01899/0.4961, allocations: 11.52 MB / 0.5516 GB, free: 12.86 MB / 394.7 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@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches