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.001419/0.001419, allocations: 111.8 kB / 17.74 MB, free: 5.359 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.001475/0.001475, allocations: 181.5 kB / 18.66 MB, free: 4.449 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.541/1.541, 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.1767/0.1767, allocations: 37.98 MB / 309.9 MB, free: 5.977 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.001335/0.001335, allocations: 63.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.09587, allocations: 55.24 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01039/0.1063, allocations: 8.922 MB / 496.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005411/0.1118, allocations: 3.085 MB / 499.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007883/0.1126, allocations: 39.75 kB / 499.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.1155, allocations: 1.07 MB / 0.4892 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.1174, allocations: 0.6335 MB / 0.4898 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.1195, allocations: 0.7248 MB / 0.4905 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.1218, allocations: 1.621 MB / 0.4921 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.1232, allocations: 0.9014 MB / 0.493 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.1245, allocations: 0.7354 MB / 0.4937 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.1262, allocations: 0.9425 MB / 0.4946 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003294/0.1265, allocations: 108 kB / 0.4947 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.1276, allocations: 459.2 kB / 0.4951 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007483/0.1284, allocations: 0.6585 MB / 0.4958 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.1296, allocations: 0.7075 MB / 0.4965 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.1319, allocations: 1.787 MB / 0.4982 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.132, allocations: 0 / 0.4982 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.132, allocations: 0 / 0.4982 GB, free: 1.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.447e-05/0.132, allocations: 0 / 0.4982 GB, free: 1.855 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.003667/0.1357, allocations: 1.639 MB / 0.4998 GB, free: 164 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1358, allocations: 19.83 kB / 0.4998 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.1376, allocations: 271 kB / 0.5001 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.1394, allocations: 0.8869 MB / 0.501 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.316e-05/0.1395, allocations: 90.72 kB / 0.501 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004339/0.14, allocations: 152 kB / 0.5012 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/0.1431, allocations: 1.85 MB / 0.503 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.1432, allocations: 7.938 kB / 0.503 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.1433, allocations: 51.98 kB / 0.5031 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003173/0.1437, allocations: 102.2 kB / 0.5031 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.1461, allocations: 1.487 MB / 0.5046 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009189/0.1553, allocations: 8.265 MB / 0.5127 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.1567, allocations: 1.165 MB / 0.5138 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006476/0.1574, allocations: 492 kB / 0.5143 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.559e-05/0.1574, allocations: 16.64 kB / 0.5143 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1575, allocations: 51.14 kB / 0.5143 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.745e-06/0.1575, allocations: 4 kB / 0.5143 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.003905/0.1614, allocations: 2.429 MB / 0.5167 GB, free: 14.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.1615, allocations: 97.62 kB / 0.5168 GB, free: 13.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008703/0.1624, allocations: 0.8212 MB / 0.5176 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.1624, allocations: 49.77 kB / 0.5177 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.1629, allocations: 0.6764 MB / 0.5183 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.1631, allocations: 307.7 kB / 0.5186 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.1634, allocations: 255.3 kB / 0.5189 GB, free: 11.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1636, allocations: 410.7 kB / 0.5193 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006345/0.1643, allocations: 459.7 kB / 0.5197 GB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009951/0.1653, allocations: 0.9968 MB / 0.5207 GB, free: 9.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.1671, allocations: 1.592 MB / 0.5222 GB, free: 7.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.1671, allocations: 4 kB / 0.5222 GB, free: 7.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00299/0.1701, allocations: 1.768 MB / 0.5239 GB, free: 6.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.1701, allocations: 12 kB / 0.524 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001625/0.1718, allocations: 0.9929 MB / 0.5249 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008556/0.1726, allocations: 246.5 kB / 0.5252 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009673/0.1736, allocations: 311.5 kB / 0.5255 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2109/0.3845, allocations: 5.17 MB / 0.5305 GB, free: 49.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.3856, allocations: 55.92 kB / 0.5306 GB, free: 49.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.3857, allocations: 69.97 kB / 0.5306 GB, free: 49.58 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.0006488/0.3863, allocations: 435.5 kB / 0.531 GB, free: 49.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.3865, allocations: 100.3 kB / 0.5311 GB, free: 49.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.388, allocations: 0.9459 MB / 0.5321 GB, free: 49.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.388, allocations: 8.25 kB / 0.5321 GB, free: 49.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.388, allocations: 1.375 kB / 0.5321 GB, free: 49.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.388, allocations: 6.766 kB / 0.5321 GB, free: 49.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/0.3914, allocations: 2.126 MB / 0.5342 GB, free: 48.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.3914, allocations: 1.188 kB / 0.5342 GB, free: 48.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008794/0.3923, allocations: 183.8 kB / 0.5343 GB, free: 48.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.3923, allocations: 4.25 kB / 0.5343 GB, free: 48.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.3924, allocations: 24.2 kB / 0.5344 GB, free: 48.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.3924, allocations: 14.06 kB / 0.5344 GB, free: 48.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3924, allocations: 5.438 kB / 0.5344 GB, free: 48.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.3943, allocations: 1.398 MB / 0.5357 GB, free: 48.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.3945, allocations: 163.8 kB / 0.5359 GB, free: 48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.3946, allocations: 26.44 kB / 0.5359 GB, free: 47.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.395, allocations: 26.19 kB / 0.536 GB, free: 47.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3951, allocations: 49.58 kB / 0.536 GB, free: 47.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.3952, allocations: 27.23 kB / 0.536 GB, free: 47.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000676/0.3959, allocations: 0.5426 MB / 0.5366 GB, free: 47.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3959, allocations: 0 / 0.5366 GB, free: 47.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001054/0.3969, allocations: 291.6 kB / 0.5368 GB, free: 47.72 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.000146/0.3971, allocations: 128.2 kB / 0.537 GB, free: 47.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.3991, allocations: 1.474 MB / 0.5384 GB, free: 46.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3991, allocations: 0 / 0.5384 GB, free: 46.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.3997, allocations: 407.2 kB / 0.5388 GB, free: 46.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.4006, allocations: 192.3 kB / 0.539 GB, free: 46.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.4047, allocations: 2.814 MB / 0.5417 GB, free: 45.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007745/0.4055, allocations: 1.249 MB / 0.5429 GB, free: 44.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.4058, allocations: 93.12 kB / 0.543 GB, free: 44.57 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4058, allocations: 0 / 0.543 GB, free: 44.57 MB / 414.1 MB Notification: Performance of Templates: time 0.02418/0.43, allocations: 20.42 MB / 0.563 GB, free: 32.87 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)