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.001607/0.001608, allocations: 109.5 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.001555/0.001555, allocations: 190.9 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.68/1.68, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, allocations: 37.99 MB / 309.8 MB, free: 5.973 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.002186/0.002187, allocations: 71.17 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3251, allocations: 55.25 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01084/0.336, allocations: 8.919 MB / 440.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.3419, allocations: 3.077 MB / 444 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.3431, allocations: 35.81 kB / 444.1 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0027/0.3458, allocations: 1.084 MB / 445.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.348, allocations: 0.6297 MB / 445.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.3504, allocations: 0.721 MB / 446.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002603/0.353, allocations: 1.625 MB / 448.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.354, allocations: 0.8974 MB / 449 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.3552, allocations: 0.7315 MB / 449.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.3563, allocations: 0.9385 MB / 450.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.3564, allocations: 104 kB / 450.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009369/0.3574, allocations: 455.3 kB / 451.2 MB, free: 200 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006073/0.358, allocations: 0.6586 MB / 451.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000794/0.3588, allocations: 0.7113 MB / 452.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.3608, allocations: 1.799 MB / 454.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3609, allocations: 0 / 454.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3609, allocations: 0 / 454.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.3609, allocations: 0 / 454.4 MB, free: 13.02 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.003225/0.3641, allocations: 1.643 MB / 456 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3642, allocations: 11.89 kB / 456.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.3658, allocations: 271 kB / 456.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.3676, allocations: 0.887 MB / 457.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.676e-05/0.3677, allocations: 94.64 kB / 457.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.3681, allocations: 152 kB / 457.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/0.3707, allocations: 1.85 MB / 459.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.3708, allocations: 11.94 kB / 459.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.3709, allocations: 51.98 kB / 459.4 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/0.3712, allocations: 102.1 kB / 459.5 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.3735, allocations: 1.491 MB / 460.9 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009009/0.3825, allocations: 8.253 MB / 469.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.384, allocations: 1.164 MB / 470.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/0.3847, allocations: 493.2 kB / 470.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.425e-05/0.3847, allocations: 20.62 kB / 470.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.3848, allocations: 39.22 kB / 470.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 3.367e-06/0.3848, allocations: 3.938 kB / 470.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.003907/0.3887, allocations: 2.433 MB / 473.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.3888, allocations: 93.7 kB / 473.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.3898, allocations: 0.8135 MB / 474.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.3899, allocations: 41.7 kB / 474.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/0.3904, allocations: 0.688 MB / 475 MB, free: 7.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.3906, allocations: 299.8 kB / 475.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00033/0.391, allocations: 267.4 kB / 475.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.3912, allocations: 414.7 kB / 475.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/0.3918, allocations: 451.7 kB / 476.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.3929, allocations: 1.008 MB / 477.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.3947, allocations: 1.581 MB / 479 MB, free: 3.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.3947, allocations: 4 kB / 479 MB, free: 3.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003035/0.3978, allocations: 1.763 MB / 480.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.3978, allocations: 20.92 kB / 480.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001661/0.3995, allocations: 0.989 MB / 481.7 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008486/0.4003, allocations: 246.4 kB / 482 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/0.4013, allocations: 315.4 kB / 482.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004777/0.4061, allocations: 5.184 MB / 487.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009571/0.4071, allocations: 51.98 kB / 487.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-05/0.4072, allocations: 68 kB / 487.6 MB, free: 9.949 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.0007688/0.408, allocations: 437.1 kB / 488 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.4082, allocations: 94.78 kB / 488.1 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.4097, allocations: 0.9454 MB / 489.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.4098, allocations: 8 kB / 489.1 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4098, allocations: 3.938 kB / 489.1 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.4098, allocations: 7.984 kB / 489.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/0.414, allocations: 2.129 MB / 491.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.414, allocations: 0 / 491.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/0.4149, allocations: 191.7 kB / 491.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.4149, allocations: 8 kB / 491.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.415, allocations: 23.98 kB / 491.4 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.415, allocations: 4 kB / 491.4 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.415, allocations: 144 / 491.4 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.4169, allocations: 1.406 MB / 492.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.4172, allocations: 167.8 kB / 493 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.4173, allocations: 28 kB / 493 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.4177, allocations: 27.97 kB / 493.1 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4178, allocations: 52.56 kB / 493.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.4179, allocations: 31.98 kB / 493.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006807/0.4185, allocations: 0.5341 MB / 493.7 MB, free: 3.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4186, allocations: 0 / 493.7 MB, free: 3.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001171/0.4197, allocations: 296 kB / 494 MB, free: 3.434 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.000172/0.4199, allocations: 131 kB / 494.1 MB, free: 3.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002246/0.4222, allocations: 1.462 MB / 495.5 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/0.4222, allocations: 4 kB / 495.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.4227, allocations: 411.4 kB / 496 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008412/0.4236, allocations: 182.4 kB / 496.1 MB, free: 1.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.4278, allocations: 2.709 MB / 498.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009392/0.4288, allocations: 1.251 MB / 0.4884 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008705/0.4297, allocations: 420.7 kB / 0.4888 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.4299, allocations: 83.42 kB / 0.4889 GB, free: 12.68 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4299, allocations: 0 / 0.4889 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Templates: time 0.01993/0.4498, allocations: 10.77 MB / 0.4994 GB, free: 1.938 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 cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)