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.001162/0.001162, allocations: 111.9 kB / 17.68 MB, free: 5.332 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.001242/0.001242, allocations: 192 kB / 18.62 MB, free: 4.41 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.435/1.435, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1754/0.1754, allocations: 37.99 MB / 309.8 MB, free: 5.957 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.001478/0.001478, allocations: 71.02 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2295, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.007064/0.2366, allocations: 8.927 MB / 440.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.2408, allocations: 3.073 MB / 444 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006024/0.2415, allocations: 31.81 kB / 444.1 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.2438, allocations: 1.087 MB / 445.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.245, allocations: 0.6219 MB / 445.8 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.2465, allocations: 0.7327 MB / 446.5 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.2476, allocations: 1.617 MB / 448.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008323/0.2485, allocations: 0.9052 MB / 449 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007221/0.2492, allocations: 0.7314 MB / 449.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008835/0.2501, allocations: 0.9347 MB / 450.7 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.2502, allocations: 104 kB / 450.8 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006033/0.2508, allocations: 455.3 kB / 451.2 MB, free: 212 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000523/0.2513, allocations: 0.6587 MB / 451.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006709/0.252, allocations: 0.7114 MB / 452.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.2536, allocations: 1.791 MB / 454.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.2536, allocations: 7.984 kB / 454.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2536, allocations: 0 / 454.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.2537, allocations: 0 / 454.4 MB, free: 13.03 MB / 334.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.002836/0.2565, allocations: 1.635 MB / 456 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.2566, allocations: 15.89 kB / 456 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.2581, allocations: 271 kB / 456.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.2598, allocations: 0.8948 MB / 457.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.2599, allocations: 90.66 kB / 457.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/0.2603, allocations: 156 kB / 457.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/0.2627, allocations: 1.85 MB / 459.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.2628, allocations: 7.938 kB / 459.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.2629, allocations: 55.98 kB / 459.4 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002701/0.2632, allocations: 94.16 kB / 459.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.2654, allocations: 1.495 MB / 460.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009455/0.2749, allocations: 8.253 MB / 469.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.2763, allocations: 1.16 MB / 470.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.2769, allocations: 497.2 kB / 470.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-05/0.277, allocations: 20.64 kB / 470.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.2771, allocations: 43.16 kB / 470.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 3.236e-06/0.2771, allocations: 0 / 470.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.00377/0.2808, allocations: 2.433 MB / 473.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.2809, allocations: 89.7 kB / 473.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/0.2818, allocations: 0.8212 MB / 474.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/0.2819, allocations: 41.7 kB / 474.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000457/0.2824, allocations: 0.688 MB / 475 MB, free: 7.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.2826, allocations: 299.8 kB / 475.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/0.2829, allocations: 263.4 kB / 475.5 MB, free: 7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.2831, allocations: 410.7 kB / 475.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006232/0.2838, allocations: 455.7 kB / 476.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009672/0.2847, allocations: 1.005 MB / 477.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.2865, allocations: 1.585 MB / 479 MB, free: 3.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/0.2866, allocations: 4 kB / 479 MB, free: 3.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002946/0.2895, allocations: 1.767 MB / 480.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.2896, allocations: 12.97 kB / 480.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001588/0.2911, allocations: 0.989 MB / 481.7 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008445/0.292, allocations: 242.3 kB / 482 MB, free: 0 / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009736/0.293, allocations: 319.5 kB / 482.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.2975, allocations: 5.183 MB / 487.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.2983, allocations: 47.98 kB / 487.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-05/0.2984, allocations: 68 kB / 487.6 MB, free: 9.969 MB / 366.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.0005499/0.2989, allocations: 437.1 kB / 488 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.2991, allocations: 102.7 kB / 488.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.3005, allocations: 0.9454 MB / 489.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.3005, allocations: 8 kB / 489.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3005, allocations: 3.938 kB / 489.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.3006, allocations: 3.984 kB / 489.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/0.3042, allocations: 2.129 MB / 491.2 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.3043, allocations: 12.27 kB / 491.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/0.3051, allocations: 183.8 kB / 491.4 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.3052, allocations: 4 kB / 491.4 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/0.3052, allocations: 23.98 kB / 491.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.3052, allocations: 4 kB / 491.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3052, allocations: 4 kB / 491.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.3071, allocations: 1.406 MB / 492.8 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.3073, allocations: 167.8 kB / 493 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.3074, allocations: 27.98 kB / 493 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.3078, allocations: 27.98 kB / 493.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3079, allocations: 52.56 kB / 493.1 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.308, allocations: 27.98 kB / 493.1 MB, free: 4.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006593/0.3087, allocations: 0.5419 MB / 493.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3087, allocations: 0 / 493.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001029/0.3097, allocations: 296 kB / 494 MB, free: 3.441 MB / 366.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.0001799/0.3099, allocations: 130.7 kB / 494.1 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.3121, allocations: 1.466 MB / 495.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3121, allocations: 0 / 495.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.3127, allocations: 411.4 kB / 496 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/0.3136, allocations: 186.7 kB / 496.1 MB, free: 1.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.3173, allocations: 2.706 MB / 498.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008231/0.3182, allocations: 1.239 MB / 0.4884 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008622/0.3191, allocations: 428.7 kB / 0.4888 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.3193, allocations: 79.42 kB / 0.4888 GB, free: 12.7 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3193, allocations: 0 / 0.4888 GB, free: 12.7 MB / 382.1 MB Notification: Performance of Templates: time 0.01811/0.3374, allocations: 10.77 MB / 0.4994 GB, free: 1.953 MB / 382.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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)