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.001048/0.001048, allocations: 89.23 kB / 16.65 MB, free: 6.535 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.001231/0.001231, allocations: 178 kB / 17.56 MB, free: 6.18 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.448/1.448, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1692/0.1692, allocations: 38.04 MB / 310.1 MB, free: 5.914 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.0005814/0.0005814, allocations: 12.61 kB / 377.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.267, allocations: 56.33 MB / 433.5 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.007139/0.2742, allocations: 10.46 MB / 444 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005442/0.2796, allocations: 3.713 MB / 447.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.2807, allocations: 71.5 kB / 447.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007166/0.2814, allocations: 250.3 kB / 448 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.2828, allocations: 0.5873 MB / 448.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.2846, allocations: 0.6472 MB / 449.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.2863, allocations: 2.464 MB / 451.7 MB, free: 424 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.2885, allocations: 1.442 MB / 453.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008124/0.2893, allocations: 0.5676 MB / 453.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.2904, allocations: 0.9345 MB / 454.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.2906, allocations: 52 kB / 454.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007802/0.2914, allocations: 447.2 kB / 455.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005687/0.2919, allocations: 0.6077 MB / 455.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006923/0.2926, allocations: 0.6584 MB / 456.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.2943, allocations: 1.701 MB / 458.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2943, allocations: 0 / 458.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2943, allocations: 0 / 458.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.2943, allocations: 4 kB / 458.1 MB, free: 9.934 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.002574/0.2969, allocations: 1.393 MB / 459.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.297, allocations: 8.031 kB / 459.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.2985, allocations: 282.9 kB / 459.8 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.2999, allocations: 0.8363 MB / 460.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/0.3, allocations: 90.7 kB / 460.7 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.3004, allocations: 152 kB / 460.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.303, allocations: 1.85 MB / 462.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/0.303, allocations: 15.88 kB / 462.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.3032, allocations: 52 kB / 462.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002827/0.3035, allocations: 98.14 kB / 462.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.3058, allocations: 1.484 MB / 464.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008508/0.3144, allocations: 8.308 MB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.3158, allocations: 1.162 MB / 473.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006365/0.3164, allocations: 492 kB / 474.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.568e-05/0.3165, allocations: 16.64 kB / 474.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3165, allocations: 43.22 kB / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 3.206e-06/0.3166, allocations: 0 / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.003733/0.3203, allocations: 2.433 MB / 476.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.3204, allocations: 101.8 kB / 476.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008951/0.3213, allocations: 0.8174 MB / 477.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/0.3213, allocations: 41.7 kB / 477.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.3218, allocations: 0.6763 MB / 478.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.322, allocations: 303.8 kB / 478.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3222, allocations: 121.7 kB / 478.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3223, allocations: 410.7 kB / 479.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.323, allocations: 455.7 kB / 479.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.324, allocations: 1.005 MB / 480.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.3258, allocations: 1.592 MB / 482.3 MB, free: 348 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.3258, allocations: 4 kB / 482.3 MB, free: 344 kB / 350.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002818/0.3287, allocations: 1.772 MB / 484 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.3287, allocations: 12 kB / 484.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001646/0.3304, allocations: 0.992 MB / 485 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008355/0.3312, allocations: 246.7 kB / 485.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.3323, allocations: 307.5 kB / 485.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/0.3366, allocations: 4.806 MB / 490.4 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/0.3374, allocations: 55.89 kB / 490.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.3375, allocations: 71.94 kB / 490.5 MB, free: 7.652 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.0006589/0.3382, allocations: 433.1 kB / 490.9 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.3383, allocations: 102.7 kB / 491 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.3398, allocations: 0.9493 MB / 492 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3398, allocations: 15.94 kB / 492 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.3398, allocations: 0 / 492 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.3398, allocations: 7.969 kB / 492 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.3432, allocations: 2.115 MB / 494.1 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.3433, allocations: 0 / 494.1 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008424/0.3441, allocations: 188 kB / 494.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.3441, allocations: 12 kB / 494.3 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.3442, allocations: 23.98 kB / 494.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.405e-05/0.3442, allocations: 4 kB / 494.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.3442, allocations: 11.88 kB / 494.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.346, allocations: 1.397 MB / 495.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.3461, allocations: 167.8 kB / 495.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3462, allocations: 20.09 kB / 495.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.3466, allocations: 23.92 kB / 496 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.3467, allocations: 60.52 kB / 496 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.3468, allocations: 24 kB / 496 MB, free: 1.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006189/0.3474, allocations: 0.5419 MB / 496.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3474, allocations: 0 / 496.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009809/0.3484, allocations: 292 kB / 496.9 MB, free: 1.141 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.0001537/0.3486, allocations: 123.2 kB / 497 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.3507, allocations: 1.466 MB / 498.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3508, allocations: 0 / 498.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.3513, allocations: 416.1 kB / 498.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3523, allocations: 183.8 kB / 499 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/0.3567, allocations: 3.405 MB / 0.4907 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009177/0.3576, allocations: 1.243 MB / 0.4919 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001059/0.3587, allocations: 420.7 kB / 0.4923 GB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.3589, allocations: 87.36 kB / 0.4924 GB, free: 9.699 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3589, allocations: 0 / 0.4924 GB, free: 9.699 MB / 382.1 MB Notification: Performance of Templates: time 0.01896/0.3779, allocations: 10.17 MB / 0.5023 GB, free: 15.55 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: