Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_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.001603/0.001603, allocations: 111.5 kB / 16.51 MB, free: 6.715 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.001928/0.001928, 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.451/1.451, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1964/0.1964, allocations: 38.02 MB / 329.3 MB, free: 9.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.44 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.112, allocations: 58.05 MB / 456.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01123/0.1233, allocations: 10.98 MB / 467.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007797/0.1311, allocations: 3.723 MB / 470.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.1325, allocations: 71.56 kB / 470.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.135, allocations: 1.008 MB / 471.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.1367, allocations: 0.5912 MB / 472.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.1384, allocations: 0.6472 MB / 473.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002638/0.1411, allocations: 2.464 MB / 475.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.1425, allocations: 0.873 MB / 476.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.1438, allocations: 0.63 MB / 477.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.1456, allocations: 0.9815 MB / 478.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.1459, allocations: 76 kB / 478.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.1471, allocations: 471.2 kB / 478.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008329/0.148, allocations: 0.639 MB / 479.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.1494, allocations: 0.6723 MB / 480 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.1518, allocations: 1.741 MB / 481.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1518, allocations: 0 / 481.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1518, allocations: 0 / 481.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.375e-05/0.1519, allocations: 0 / 481.7 MB, free: 14.84 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.003725/0.1557, allocations: 1.654 MB / 483.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.1557, allocations: 8.031 kB / 483.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.1575, allocations: 271 kB / 483.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.1589, allocations: 0.8363 MB / 484.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.601e-05/0.159, allocations: 90.72 kB / 484.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/0.1593, allocations: 163.9 kB / 484.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.1619, allocations: 1.85 MB / 486.6 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.1619, allocations: 7.938 kB / 486.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.1621, allocations: 55.98 kB / 486.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000312/0.1624, allocations: 102.1 kB / 486.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.165, allocations: 1.491 MB / 488.2 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009572/0.1746, allocations: 8.284 MB / 496.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.176, allocations: 1.168 MB / 497.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/0.1768, allocations: 484.2 kB / 498.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.455e-05/0.1768, allocations: 24.62 kB / 498.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1769, allocations: 43.22 kB / 498.2 MB, free: 13.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.066e-06/0.1769, allocations: 0 / 498.2 MB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.004127/0.181, allocations: 2.433 MB / 0.4889 GB, free: 11.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.1811, allocations: 93.7 kB / 0.489 GB, free: 10.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009136/0.182, allocations: 0.8135 MB / 0.4898 GB, free: 10.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/0.1821, allocations: 41.7 kB / 0.4898 GB, free: 10.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.1825, allocations: 0.6881 MB / 0.4905 GB, free: 9.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.1828, allocations: 307.7 kB / 0.4908 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.1831, allocations: 255.3 kB / 0.491 GB, free: 8.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1833, allocations: 414.7 kB / 0.4914 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000671/0.184, allocations: 447.7 kB / 0.4919 GB, free: 7.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.1851, allocations: 1.005 MB / 0.4928 GB, free: 6.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.1869, allocations: 1.588 MB / 0.4944 GB, free: 4.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.1869, allocations: 4 kB / 0.4944 GB, free: 4.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003023/0.19, allocations: 1.76 MB / 0.4961 GB, free: 3.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.19, allocations: 16.03 kB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001767/0.1918, allocations: 0.9959 MB / 0.4971 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009243/0.1927, allocations: 254.3 kB / 0.4973 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.1937, allocations: 307.5 kB / 0.4976 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.1983, allocations: 4.798 MB / 0.5023 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/0.1991, allocations: 48 kB / 0.5024 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.1993, allocations: 75.92 kB / 0.5024 GB, free: 12.19 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.000652/0.1999, allocations: 429.1 kB / 0.5029 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.2001, allocations: 98.72 kB / 0.5029 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.2017, allocations: 0.961 MB / 0.5039 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.2018, allocations: 8 kB / 0.5039 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2018, allocations: 0 / 0.5039 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.2018, allocations: 7.984 kB / 0.5039 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.2056, allocations: 2.123 MB / 0.506 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.2056, allocations: 0 / 0.506 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000889/0.2065, allocations: 183.8 kB / 0.5061 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.2065, allocations: 8 kB / 0.5062 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/0.2066, allocations: 20 kB / 0.5062 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.2066, allocations: 7.984 kB / 0.5062 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/0.2066, allocations: 16.06 kB / 0.5062 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.2085, allocations: 1.408 MB / 0.5076 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.2087, allocations: 171.8 kB / 0.5077 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.2089, allocations: 23.91 kB / 0.5078 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.2093, allocations: 27.97 kB / 0.5078 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.2095, allocations: 48.53 kB / 0.5078 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/0.2095, allocations: 31.98 kB / 0.5079 GB, free: 6.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006866/0.2102, allocations: 0.5341 MB / 0.5084 GB, free: 5.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2102, allocations: 0 / 0.5084 GB, free: 5.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001191/0.2114, allocations: 300 kB / 0.5087 GB, free: 5.66 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.0001932/0.2116, allocations: 123.2 kB / 0.5088 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002518/0.2142, allocations: 1.462 MB / 0.5102 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.2142, allocations: 4 kB / 0.5102 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005719/0.2148, allocations: 403.4 kB / 0.5106 GB, free: 3.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000922/0.2157, allocations: 180.8 kB / 0.5108 GB, free: 3.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004977/0.2207, allocations: 3.241 MB / 0.5139 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2024/0.4231, allocations: 1.239 MB / 0.5152 GB, free: 69.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00127/0.4244, allocations: 422.1 kB / 0.5156 GB, free: 69.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.4247, allocations: 81.84 kB / 0.5156 GB, free: 69.14 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4247, allocations: 0 / 0.5156 GB, free: 69.14 MB / 398.1 MB Notification: Performance of Templates: time 0.02067/0.4454, allocations: 10.3 MB / 0.5257 GB, free: 67.66 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)