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.001079/0.001079, allocations: 96.73 kB / 16.3 MB, free: 5.656 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.001195/0.001195, allocations: 183.2 kB / 17.2 MB, free: 5.59 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.72/1.72, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1757/0.1757, allocations: 38.04 MB / 309.7 MB, free: 6.141 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.0006874/0.0006875, allocations: 16 kB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3046, allocations: 56.33 MB / 432.8 MB, free: 18.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.007704/0.3124, allocations: 9.321 MB / 442.1 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005888/0.3183, allocations: 3.528 MB / 445.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009666/0.3193, allocations: 71.5 kB / 445.7 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007346/0.3201, allocations: 298.2 kB / 446 MB, free: 5.621 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/AC3ph/Sensors.mo:213:5-214:73:writable] Warning: Conditional component ‘v_abc‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.00161/0.3217, allocations: 0.6269 MB / 446.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.3234, allocations: 0.7015 MB / 447.3 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009558/0.3244, allocations: 0.8316 MB / 448.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.326, allocations: 1.329 MB / 449.5 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.3267, allocations: 0.506 MB / 450 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.3274, allocations: 0.6349 MB / 450.6 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.719e-05/0.3275, allocations: 52 kB / 450.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.328, allocations: 299.5 kB / 451 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.3284, allocations: 0.5573 MB / 451.5 MB, free: 32 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.3286, allocations: 265.1 kB / 451.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.3298, allocations: 1.329 MB / 453.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3298, allocations: 0 / 453.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3299, allocations: 4 kB / 453.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.3299, allocations: 0 / 453.1 MB, free: 14.43 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.002591/0.3325, allocations: 1.405 MB / 454.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3325, allocations: 12.03 kB / 454.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.3341, allocations: 290 kB / 454.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.3357, allocations: 0.8237 MB / 455.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.489e-05/0.3358, allocations: 90.33 kB / 455.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.3361, allocations: 147.9 kB / 455.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.3386, allocations: 1.835 MB / 457.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.3386, allocations: 11.94 kB / 457.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.3388, allocations: 48 kB / 457.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002742/0.339, allocations: 98.16 kB / 457.9 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.3413, allocations: 1.464 MB / 459.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008972/0.3503, allocations: 8.3 MB / 467.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.3517, allocations: 1.151 MB / 468.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.239e-05/0.3518, allocations: 16.69 kB / 468.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.3518, allocations: 39.22 kB / 468.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 3.196e-06/0.3519, allocations: 0 / 468.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.003887/0.3558, allocations: 2.394 MB / 471.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.3558, allocations: 93.89 kB / 471.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008959/0.3567, allocations: 0.8173 MB / 472.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.3568, allocations: 37.7 kB / 472.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/0.3572, allocations: 0.6841 MB / 472.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.3575, allocations: 311.7 kB / 473.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3576, allocations: 24 kB / 473.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3577, allocations: 414.7 kB / 473.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/0.3584, allocations: 435.7 kB / 474 MB, free: 8.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.3595, allocations: 0.9928 MB / 475 MB, free: 7.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008984/0.3604, allocations: 0.6313 MB / 475.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.3604, allocations: 8 kB / 475.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002864/0.3633, allocations: 1.737 MB / 477.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.3634, allocations: 15.98 kB / 477.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001661/0.365, allocations: 0.9648 MB / 478.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008933/0.3659, allocations: 250.3 kB / 478.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.367, allocations: 315.5 kB / 478.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004767/0.3718, allocations: 4.865 MB / 483.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009777/0.3728, allocations: 55.89 kB / 483.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.3729, allocations: 71.98 kB / 483.9 MB, free: 14.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007856/0.3737, allocations: 429.1 kB / 484.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.3739, allocations: 98.73 kB / 484.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.3755, allocations: 0.9336 MB / 485.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3755, allocations: 8 kB / 485.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3755, allocations: 4 kB / 485.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.3755, allocations: 3.984 kB / 485.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/0.3796, allocations: 2.096 MB / 487.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.3797, allocations: 7.984 kB / 487.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008572/0.3805, allocations: 183.7 kB / 487.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/0.3806, allocations: 4 kB / 487.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.3806, allocations: 23.98 kB / 487.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.3806, allocations: 4 kB / 487.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3807, allocations: 7.938 kB / 487.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.3825, allocations: 1.463 MB / 489.2 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.3829, allocations: 167.8 kB / 489.3 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.383, allocations: 23.98 kB / 489.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.3835, allocations: 27.98 kB / 489.4 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.915e-05/0.3836, allocations: 60.56 kB / 489.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.3836, allocations: 28 kB / 489.5 MB, free: 8.309 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006843/0.3843, allocations: 0.5302 MB / 490 MB, free: 7.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3843, allocations: 0 / 490 MB, free: 7.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001146/0.3855, allocations: 296 kB / 490.3 MB, free: 7.492 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/0.3857, allocations: 127.1 kB / 490.4 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002566/0.3882, allocations: 1.435 MB / 491.9 MB, free: 5.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.3883, allocations: 128 / 491.9 MB, free: 5.887 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006269/0.3889, allocations: 411.6 kB / 492.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.39, allocations: 156.1 kB / 492.4 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/0.395, allocations: 3.305 MB / 495.7 MB, free: 1.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.396, allocations: 1.272 MB / 497 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001075/0.3971, allocations: 420.7 kB / 497.4 MB, free: 276 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.3974, allocations: 83.42 kB / 497.5 MB, free: 192 kB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3974, allocations: 0 / 497.5 MB, free: 192 kB / 366.1 MB Notification: Performance of Templates: time 0.01954/0.4169, allocations: 9.831 MB / 0.4954 GB, free: 6.387 MB / 382.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: