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.001526/0.001526, allocations: 109.2 kB / 16.62 MB, free: 6.812 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.002019/0.002019, allocations: 189.9 kB / 17.55 MB, free: 5.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.471/1.471, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1939/0.1939, allocations: 38.02 MB / 329.4 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 58.41 kB / 398.3 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 58.06 MB / 456.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.0124/0.1167, allocations: 10.98 MB / 467.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006979/0.1237, allocations: 3.657 MB / 471 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.1259, allocations: 75.5 kB / 471 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002866/0.1288, allocations: 1.021 MB / 472.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.1306, allocations: 0.5834 MB / 472.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.1324, allocations: 0.6629 MB / 473.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.1346, allocations: 1.625 MB / 474.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.136, allocations: 0.9717 MB / 475.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.1374, allocations: 0.7276 MB / 476.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.139, allocations: 1.001 MB / 477.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002471/0.1392, allocations: 104 kB / 477.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009743/0.1402, allocations: 455.2 kB / 478.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000644/0.1409, allocations: 0.6664 MB / 478.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008857/0.1418, allocations: 0.7152 MB / 479.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.1437, allocations: 1.776 MB / 481.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1438, allocations: 0 / 481.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1438, allocations: 0 / 481.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.097e-05/0.1438, allocations: 0 / 481.3 MB, free: 15.33 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.003196/0.147, allocations: 1.65 MB / 483 MB, free: 13.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1471, allocations: 11.89 kB / 483 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.1488, allocations: 274.9 kB / 483.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.1503, allocations: 0.8363 MB / 484.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/0.1504, allocations: 94.64 kB / 484.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.1508, allocations: 156 kB / 484.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.1536, allocations: 1.85 MB / 486.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.1537, allocations: 11.94 kB / 486.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.1538, allocations: 51.98 kB / 486.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003042/0.1541, allocations: 98.16 kB / 486.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.1566, allocations: 1.491 MB / 487.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009283/0.1659, allocations: 8.288 MB / 496.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.1673, allocations: 1.164 MB / 497.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.1679, allocations: 484.2 kB / 497.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-05/0.168, allocations: 20.64 kB / 497.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1681, allocations: 43.22 kB / 497.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/0.1681, allocations: 3.938 kB / 497.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.003702/0.1718, allocations: 2.437 MB / 0.4886 GB, free: 11.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.1719, allocations: 89.7 kB / 0.4886 GB, free: 11.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009056/0.1728, allocations: 0.8175 MB / 0.4894 GB, free: 10.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/0.1728, allocations: 41.7 kB / 0.4895 GB, free: 10.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.1733, allocations: 0.688 MB / 0.4902 GB, free: 9.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.1736, allocations: 303.7 kB / 0.4904 GB, free: 9.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.1739, allocations: 251.3 kB / 0.4907 GB, free: 9.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.1741, allocations: 418.7 kB / 0.4911 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/0.1748, allocations: 455.6 kB / 0.4915 GB, free: 8.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.1758, allocations: 0.9968 MB / 0.4925 GB, free: 7.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.1777, allocations: 1.592 MB / 0.494 GB, free: 5.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/0.1777, allocations: 4 kB / 0.494 GB, free: 5.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003031/0.1808, allocations: 1.768 MB / 0.4958 GB, free: 3.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.1808, allocations: 12 kB / 0.4958 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001738/0.1825, allocations: 0.992 MB / 0.4968 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008701/0.1834, allocations: 246.6 kB / 0.497 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/0.1844, allocations: 319.5 kB / 0.4973 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.1891, allocations: 5.18 MB / 0.5024 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007804/0.1899, allocations: 55.98 kB / 0.5024 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.19, allocations: 60 kB / 0.5025 GB, free: 12.27 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.0005869/0.1906, allocations: 437.2 kB / 0.5029 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.1907, allocations: 94.78 kB / 0.503 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.1923, allocations: 0.957 MB / 0.5039 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.1923, allocations: 8.188 kB / 0.5039 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.1923, allocations: 3.938 kB / 0.5039 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.1923, allocations: 7.969 kB / 0.5039 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/0.1958, allocations: 2.123 MB / 0.506 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1958, allocations: 192 / 0.506 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008962/0.1967, allocations: 195.7 kB / 0.5062 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1968, allocations: 4 kB / 0.5062 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.1968, allocations: 27.98 kB / 0.5062 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.1968, allocations: 8 kB / 0.5062 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1968, allocations: 0 / 0.5062 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.1987, allocations: 1.404 MB / 0.5076 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.1989, allocations: 167.8 kB / 0.5078 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.199, allocations: 23.98 kB / 0.5078 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.1994, allocations: 27.98 kB / 0.5078 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.1996, allocations: 64.55 kB / 0.5079 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.1996, allocations: 20 kB / 0.5079 GB, free: 6.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006555/0.2003, allocations: 0.5421 MB / 0.5084 GB, free: 6.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2003, allocations: 0 / 0.5084 GB, free: 6.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001093/0.2014, allocations: 299.9 kB / 0.5087 GB, free: 5.734 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.0001654/0.2016, allocations: 126.5 kB / 0.5088 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002773/0.2043, allocations: 1.752 MB / 0.5105 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2044, allocations: 192 / 0.5105 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005978/0.205, allocations: 415.4 kB / 0.5109 GB, free: 3.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009336/0.2059, allocations: 179.6 kB / 0.5111 GB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.191/0.3969, allocations: 3.243 MB / 0.5143 GB, free: 70.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.3981, allocations: 1.242 MB / 0.5155 GB, free: 69.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.3993, allocations: 418.7 kB / 0.5159 GB, free: 69.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.3995, allocations: 82.2 kB / 0.516 GB, free: 69.48 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3995, allocations: 0 / 0.516 GB, free: 69.48 MB / 398.1 MB Notification: Performance of Templates: time 0.02176/0.4213, allocations: 10.77 MB / 0.5265 GB, free: 67.67 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)