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.001683/0.001683, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001827/0.001827, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.415/1.415, allocations: 222.9 MB / 241.1 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1769/0.1769, allocations: 38.04 MB / 329.3 MB, free: 8.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 68.56 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1084, allocations: 58.05 MB / 456.2 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01219/0.1206, allocations: 10.99 MB / 467.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007627/0.1283, allocations: 3.723 MB / 470.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.1303, allocations: 71.56 kB / 470.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003091/0.1334, allocations: 1.011 MB / 471.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.1353, allocations: 0.5835 MB / 472.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.1377, allocations: 0.6511 MB / 473.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003298/0.141, allocations: 2.46 MB / 475.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.1428, allocations: 0.873 MB / 476.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.1445, allocations: 0.63 MB / 477.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.1465, allocations: 0.9854 MB / 478.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004655/0.147, allocations: 72 kB / 478.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.1485, allocations: 471.2 kB / 478.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007907/0.1493, allocations: 0.6429 MB / 479.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.1506, allocations: 0.6723 MB / 480 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.1533, allocations: 1.741 MB / 481.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1534, allocations: 0 / 481.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1534, allocations: 0 / 481.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.046e-05/0.1535, allocations: 0 / 481.7 MB, free: 14.83 MB / 366.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.004292/0.1578, allocations: 1.654 MB / 483.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1578, allocations: 8.031 kB / 483.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.1598, allocations: 271 kB / 483.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.1618, allocations: 0.8324 MB / 484.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/0.1619, allocations: 90.7 kB / 484.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004736/0.1624, allocations: 163.9 kB / 484.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/0.1659, allocations: 1.85 MB / 486.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.808e-05/0.166, allocations: 7.938 kB / 486.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.1662, allocations: 51.98 kB / 486.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003394/0.1665, allocations: 106.1 kB / 486.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.1693, allocations: 1.491 MB / 488.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.1797, allocations: 8.284 MB / 496.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.1812, allocations: 1.168 MB / 497.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/0.1819, allocations: 488.2 kB / 498.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.246e-05/0.182, allocations: 16.62 kB / 498.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.182, allocations: 43.22 kB / 498.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.807e-06/0.1821, allocations: 7.984 kB / 498.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.004197/0.1863, allocations: 2.437 MB / 0.4889 GB, free: 11.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.1863, allocations: 89.7 kB / 0.489 GB, free: 10.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.1873, allocations: 0.8174 MB / 0.4898 GB, free: 10.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.1874, allocations: 37.7 kB / 0.4898 GB, free: 10.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/0.1879, allocations: 0.688 MB / 0.4905 GB, free: 9.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.1882, allocations: 307.9 kB / 0.4908 GB, free: 9.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.1885, allocations: 255.3 kB / 0.4911 GB, free: 8.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1888, allocations: 414.7 kB / 0.4914 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/0.1895, allocations: 447.7 kB / 0.4919 GB, free: 7.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.1906, allocations: 1.008 MB / 0.4929 GB, free: 6.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.1926, allocations: 1.589 MB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.1927, allocations: 4 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00321/0.1959, allocations: 1.764 MB / 0.4961 GB, free: 3.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.1959, allocations: 16.17 kB / 0.4962 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001765/0.1977, allocations: 0.992 MB / 0.4971 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009153/0.1986, allocations: 254.3 kB / 0.4974 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.1997, allocations: 311.4 kB / 0.4977 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004586/0.2043, allocations: 4.786 MB / 0.5023 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/0.2052, allocations: 64.11 kB / 0.5024 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.2053, allocations: 64 kB / 0.5025 GB, free: 12.17 MB / 398.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.0006552/0.206, allocations: 429.1 kB / 0.5029 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.2062, allocations: 98.72 kB / 0.503 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.2078, allocations: 0.9611 MB / 0.5039 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.2079, allocations: 8 kB / 0.5039 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2079, allocations: 7.984 kB / 0.5039 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.2079, allocations: 3.984 kB / 0.5039 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.2119, allocations: 2.119 MB / 0.506 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2119, allocations: 0 / 0.506 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009182/0.2128, allocations: 187.8 kB / 0.5062 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/0.2129, allocations: 8 kB / 0.5062 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.2129, allocations: 23.98 kB / 0.5062 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/0.2129, allocations: 4 kB / 0.5062 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.213, allocations: 11.88 kB / 0.5062 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.2149, allocations: 1.401 MB / 0.5076 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.2151, allocations: 171.8 kB / 0.5077 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.2153, allocations: 27.89 kB / 0.5078 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/0.2157, allocations: 23.98 kB / 0.5078 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.2158, allocations: 52.53 kB / 0.5078 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.2159, allocations: 27.98 kB / 0.5079 GB, free: 6.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007417/0.2167, allocations: 0.538 MB / 0.5084 GB, free: 5.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2167, allocations: 192 / 0.5084 GB, free: 5.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001214/0.2179, allocations: 296 kB / 0.5087 GB, free: 5.648 MB / 398.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.0001817/0.2181, allocations: 127.2 kB / 0.5088 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.2205, allocations: 1.462 MB / 0.5102 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.2205, allocations: 0 / 0.5102 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005775/0.2211, allocations: 415.4 kB / 0.5106 GB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.2221, allocations: 172.2 kB / 0.5108 GB, free: 3.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.227, allocations: 3.241 MB / 0.514 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1786/0.4056, allocations: 1.246 MB / 0.5152 GB, free: 68.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001255/0.4069, allocations: 416.1 kB / 0.5156 GB, free: 68.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.4072, allocations: 81.22 kB / 0.5156 GB, free: 68.9 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4072, allocations: 0 / 0.5156 GB, free: 68.9 MB / 398.1 MB Notification: Performance of Templates: time 0.02103/0.4282, allocations: 10.3 MB / 0.5257 GB, free: 67.44 MB / 398.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