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.00165/0.00165, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.00182/0.00182, allocations: 197.3 kB / 18.2 MB, free: 5.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.867/1.867, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3187/0.3187, allocations: 38.01 MB / 330 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 65.97 kB / 398.9 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1121, allocations: 58.06 MB / 457 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01282/0.125, allocations: 10.99 MB / 468 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007579/0.1326, allocations: 3.653 MB / 471.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.1344, allocations: 79.5 kB / 471.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.1375, allocations: 1.023 MB / 472.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.1394, allocations: 0.5757 MB / 473.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.1415, allocations: 0.6668 MB / 474 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.1439, allocations: 1.633 MB / 475.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.1455, allocations: 0.9639 MB / 476.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.147, allocations: 0.7198 MB / 477.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.1486, allocations: 1.009 MB / 478.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003176/0.149, allocations: 104 kB / 478.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.1501, allocations: 459.3 kB / 478.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007582/0.1509, allocations: 0.6586 MB / 479.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.152, allocations: 0.7191 MB / 480.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.1538, allocations: 1.36 MB / 481.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1538, allocations: 0 / 481.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1538, allocations: 0 / 481.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.663e-05/0.1539, allocations: 0 / 481.6 MB, free: 15.71 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.003675/0.1576, allocations: 1.65 MB / 483.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1577, allocations: 11.89 kB / 483.3 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.1596, allocations: 274.9 kB / 483.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.1614, allocations: 0.8402 MB / 484.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/0.1615, allocations: 86.7 kB / 484.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004505/0.1619, allocations: 156 kB / 484.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.165, allocations: 1.854 MB / 486.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.763e-05/0.1651, allocations: 11.88 kB / 486.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.1652, allocations: 52 kB / 486.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003224/0.1655, allocations: 98.09 kB / 486.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.1681, allocations: 1.491 MB / 488.1 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009547/0.1777, allocations: 8.296 MB / 496.4 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.1792, allocations: 1.16 MB / 497.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006893/0.1799, allocations: 492.2 kB / 498 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.839e-05/0.18, allocations: 20.56 kB / 498.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.18, allocations: 39.22 kB / 498.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.965e-06/0.18, allocations: 0 / 498.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.004153/0.1842, allocations: 2.437 MB / 0.4888 GB, free: 11.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.1843, allocations: 89.7 kB / 0.4889 GB, free: 11.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009648/0.1852, allocations: 0.8214 MB / 0.4897 GB, free: 11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.1853, allocations: 41.7 kB / 0.4897 GB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/0.1858, allocations: 0.6841 MB / 0.4904 GB, free: 10.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.1861, allocations: 307.7 kB / 0.4907 GB, free: 9.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003404/0.1865, allocations: 251.4 kB / 0.4909 GB, free: 9.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1867, allocations: 414.7 kB / 0.4913 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.1874, allocations: 451.7 kB / 0.4918 GB, free: 8.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.1885, allocations: 1.001 MB / 0.4927 GB, free: 7.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.1904, allocations: 1.589 MB / 0.4943 GB, free: 5.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.1904, allocations: 4 kB / 0.4943 GB, free: 5.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003128/0.1936, allocations: 1.772 MB / 0.496 GB, free: 3.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.1936, allocations: 12 kB / 0.496 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001756/0.1954, allocations: 0.9959 MB / 0.497 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009292/0.1963, allocations: 246.7 kB / 0.4972 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.1974, allocations: 323.4 kB / 0.4975 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004753/0.2021, allocations: 5.172 MB / 0.5026 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008887/0.203, allocations: 51.98 kB / 0.5026 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.2032, allocations: 76.05 kB / 0.5027 GB, free: 12.64 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.0006384/0.2039, allocations: 425.1 kB / 0.5031 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.204, allocations: 94.78 kB / 0.5032 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.2056, allocations: 0.9608 MB / 0.5042 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.2056, allocations: 11.98 kB / 0.5042 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2056, allocations: 4.125 kB / 0.5042 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.2056, allocations: 7.984 kB / 0.5042 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/0.2093, allocations: 2.119 MB / 0.5062 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2093, allocations: 4.188 kB / 0.5063 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/0.2103, allocations: 183.8 kB / 0.5064 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.2103, allocations: 8 kB / 0.5064 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.2104, allocations: 23.98 kB / 0.5065 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.2104, allocations: 8 kB / 0.5065 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.2104, allocations: 7.938 kB / 0.5065 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.2122, allocations: 1.408 MB / 0.5078 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.2125, allocations: 163.8 kB / 0.508 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.2126, allocations: 23.98 kB / 0.508 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.2131, allocations: 27.98 kB / 0.5081 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2132, allocations: 52.52 kB / 0.5081 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/0.2133, allocations: 28 kB / 0.5081 GB, free: 6.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006957/0.214, allocations: 0.538 MB / 0.5087 GB, free: 6.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.214, allocations: 0 / 0.5087 GB, free: 6.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001079/0.2151, allocations: 296 kB / 0.5089 GB, free: 6.125 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.000172/0.2152, allocations: 123.2 kB / 0.5091 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002859/0.2181, allocations: 1.759 MB / 0.5108 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.2181, allocations: 8.062 kB / 0.5108 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.2187, allocations: 403.4 kB / 0.5112 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.2196, allocations: 187.3 kB / 0.5113 GB, free: 3.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.2242, allocations: 3.36 MB / 0.5146 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.207/0.4312, allocations: 1.235 MB / 0.5158 GB, free: 70.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/0.4318, allocations: 94.17 kB / 0.5159 GB, free: 70.31 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4318, allocations: 0 / 0.5159 GB, free: 70.31 MB / 398.1 MB Notification: Performance of Templates: time 0.04142/0.4732, allocations: 20.29 MB / 0.5357 GB, free: 63.29 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)