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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.001276/0.001276, allocations: 110.9 kB / 17.74 MB, free: 5.352 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.001285/0.001285, allocations: 192.5 kB / 18.67 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1666/0.1666, allocations: 37.99 MB / 309.9 MB, free: 5.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.91 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08458/0.08586, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008589/0.09449, allocations: 8.922 MB / 496.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.09905, allocations: 3.081 MB / 499.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004401/0.09952, allocations: 35.81 kB / 499.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.1019, allocations: 1.081 MB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.1031, allocations: 0.6219 MB / 0.4898 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.1047, allocations: 0.7327 MB / 0.4905 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.1061, allocations: 1.617 MB / 0.4921 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009571/0.1071, allocations: 0.9053 MB / 0.493 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008571/0.108, allocations: 0.7393 MB / 0.4937 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.109, allocations: 0.9308 MB / 0.4946 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.1092, allocations: 104 kB / 0.4947 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007539/0.1099, allocations: 463.3 kB / 0.4951 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005024/0.1105, allocations: 0.6585 MB / 0.4958 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005986/0.1111, allocations: 0.7153 MB / 0.4965 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.1125, allocations: 1.783 MB / 0.4982 GB, free: 1.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1126, allocations: 0 / 0.4982 GB, free: 1.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1126, allocations: 0 / 0.4982 GB, free: 1.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.1126, allocations: 4 kB / 0.4982 GB, free: 1.844 MB / 382.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.002501/0.1151, allocations: 1.635 MB / 0.4998 GB, free: 156 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1151, allocations: 15.89 kB / 0.4998 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.1166, allocations: 274.9 kB / 0.5001 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.1179, allocations: 0.8909 MB / 0.501 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.118, allocations: 86.72 kB / 0.501 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.1183, allocations: 156 kB / 0.5012 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.1205, allocations: 1.85 MB / 0.503 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.1206, allocations: 7.938 kB / 0.503 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/0.1207, allocations: 55.98 kB / 0.5031 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002595/0.1209, allocations: 98.14 kB / 0.5032 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.1229, allocations: 1.491 MB / 0.5046 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007491/0.1304, allocations: 8.253 MB / 0.5127 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.1317, allocations: 1.172 MB / 0.5138 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005961/0.1323, allocations: 492 kB / 0.5143 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.677e-05/0.1324, allocations: 20.62 kB / 0.5143 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1324, allocations: 43.16 kB / 0.5143 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.775e-06/0.1324, allocations: 4 kB / 0.5143 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.003428/0.1358, allocations: 2.437 MB / 0.5167 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.1359, allocations: 89.7 kB / 0.5168 GB, free: 13.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007975/0.1367, allocations: 0.8289 MB / 0.5176 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.1368, allocations: 41.7 kB / 0.5177 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.1372, allocations: 0.6763 MB / 0.5183 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.1374, allocations: 315.8 kB / 0.5186 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.1377, allocations: 255.3 kB / 0.5189 GB, free: 11.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1379, allocations: 414.7 kB / 0.5193 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006058/0.1385, allocations: 447.7 kB / 0.5197 GB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009323/0.1394, allocations: 1.001 MB / 0.5207 GB, free: 9.703 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.1411, allocations: 1.588 MB / 0.5222 GB, free: 7.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.1411, allocations: 8 kB / 0.5222 GB, free: 7.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002692/0.1438, allocations: 1.764 MB / 0.5239 GB, free: 6.066 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1438, allocations: 12 kB / 0.524 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001518/0.1454, allocations: 0.9931 MB / 0.5249 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/0.1461, allocations: 246.3 kB / 0.5252 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009154/0.1471, allocations: 311.5 kB / 0.5255 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.179/0.3261, allocations: 5.173 MB / 0.5305 GB, free: 48.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009742/0.3271, allocations: 53.69 kB / 0.5306 GB, free: 48.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.3273, allocations: 73.59 kB / 0.5306 GB, free: 48.99 MB / 414.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.0007493/0.3281, allocations: 426.3 kB / 0.531 GB, free: 48.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.3283, allocations: 97.36 kB / 0.5311 GB, free: 48.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.3297, allocations: 0.954 MB / 0.5321 GB, free: 48.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.3298, allocations: 12.28 kB / 0.5321 GB, free: 48.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3298, allocations: 1.219 kB / 0.5321 GB, free: 48.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.3298, allocations: 4.547 kB / 0.5321 GB, free: 48.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.3331, allocations: 2.121 MB / 0.5342 GB, free: 48.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3331, allocations: 3.922 kB / 0.5342 GB, free: 48.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008199/0.3339, allocations: 184.5 kB / 0.5343 GB, free: 48.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.334, allocations: 8.5 kB / 0.5343 GB, free: 48.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.334, allocations: 23.8 kB / 0.5344 GB, free: 48.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.334, allocations: 9.281 kB / 0.5344 GB, free: 48.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.334, allocations: 6.75 kB / 0.5344 GB, free: 48.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.3356, allocations: 1.4 MB / 0.5357 GB, free: 47.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.3358, allocations: 163.5 kB / 0.5359 GB, free: 47.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-05/0.3359, allocations: 27.47 kB / 0.5359 GB, free: 47.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.3363, allocations: 25.22 kB / 0.536 GB, free: 47.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3364, allocations: 55.36 kB / 0.536 GB, free: 47.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.3364, allocations: 22.98 kB / 0.536 GB, free: 47.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005661/0.337, allocations: 0.5428 MB / 0.5366 GB, free: 47.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.337, allocations: 0 / 0.5366 GB, free: 47.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009509/0.338, allocations: 293.1 kB / 0.5368 GB, free: 47.44 MB / 414.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.0001221/0.3381, allocations: 127.7 kB / 0.537 GB, free: 47.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.3399, allocations: 1.471 MB / 0.5384 GB, free: 46.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3399, allocations: 1.156 kB / 0.5384 GB, free: 46.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.3404, allocations: 410.7 kB / 0.5388 GB, free: 46.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.3412, allocations: 187 kB / 0.539 GB, free: 46.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.3448, allocations: 2.82 MB / 0.5417 GB, free: 45.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/0.3456, allocations: 1.243 MB / 0.5429 GB, free: 44.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.3458, allocations: 94.53 kB / 0.543 GB, free: 44.3 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3458, allocations: 4 kB / 0.543 GB, free: 44.3 MB / 414.1 MB Notification: Performance of Templates: time 0.02186/0.3677, allocations: 20.59 MB / 0.5631 GB, free: 32.47 MB / 414.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)