Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000931/0.0009311, allocations: 174.6 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.188/1.188, allocations: 205.4 MB / 222.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007021/0.0007021, allocations: 93.47 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1635/0.1635, allocations: 38.06 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 19.98 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2208, allocations: 56.31 MB / 479.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008084/0.2289, allocations: 9.875 MB / 489.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005616/0.2346, allocations: 3.515 MB / 493 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.236, allocations: 71.06 kB / 493.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.2372, allocations: 316.5 kB / 493.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.2396, allocations: 0.7309 MB / 494.1 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.242, allocations: 0.7463 MB / 494.9 MB, free: 15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.2447, allocations: 1.959 MB / 496.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.2472, allocations: 1.409 MB / 498.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.2486, allocations: 0.5896 MB / 498.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.2503, allocations: 0.9153 MB / 499.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003245/0.2506, allocations: 51.19 kB / 499.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.2519, allocations: 435.7 kB / 0.4885 GB, free: 12.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000889/0.2528, allocations: 0.6091 MB / 0.4891 GB, free: 12.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009745/0.2538, allocations: 0.6339 MB / 0.4897 GB, free: 12.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.2554, allocations: 1.32 MB / 0.491 GB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2554, allocations: 1.188 kB / 0.491 GB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2554, allocations: 0 / 0.491 GB, free: 11.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.341e-05/0.2554, allocations: 0 / 0.491 GB, free: 11.42 MB / 330.7 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.002481/0.2579, allocations: 1.4 MB / 0.4924 GB, free: 10.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2579, allocations: 9.781 kB / 0.4924 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.2594, allocations: 274.6 kB / 0.4926 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.2608, allocations: 0.834 MB / 0.4935 GB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.2609, allocations: 93.55 kB / 0.4935 GB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003095/0.2612, allocations: 157.5 kB / 0.4937 GB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.2638, allocations: 1.837 MB / 0.4955 GB, free: 8.199 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.2638, allocations: 12 kB / 0.4955 GB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.264, allocations: 54.27 kB / 0.4955 GB, free: 8.152 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002766/0.2643, allocations: 98.06 kB / 0.4956 GB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.2666, allocations: 1.481 MB / 0.4971 GB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008824/0.2754, allocations: 8.299 MB / 0.5052 GB, free: 40 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.2768, allocations: 1.162 MB / 0.5063 GB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.2774, allocations: 488 kB / 0.5068 GB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.209e-05/0.2775, allocations: 16.64 kB / 0.5068 GB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.2775, allocations: 43.22 kB / 0.5069 GB, free: 14.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 2.955e-06/0.2775, allocations: 4 kB / 0.5069 GB, free: 14.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=83): time 0.003598/0.2811, allocations: 2.425 MB / 0.5092 GB, free: 11.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.2812, allocations: 93.69 kB / 0.5093 GB, free: 11.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008332/0.282, allocations: 0.8136 MB / 0.5101 GB, free: 10.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.2821, allocations: 37.7 kB / 0.5101 GB, free: 10.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.2826, allocations: 0.688 MB / 0.5108 GB, free: 10.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.2828, allocations: 299.8 kB / 0.5111 GB, free: 9.746 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.2829, allocations: 24 kB / 0.5111 GB, free: 9.723 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.2831, allocations: 422.7 kB / 0.5115 GB, free: 9.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.2837, allocations: 447.7 kB / 0.512 GB, free: 8.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009751/0.2847, allocations: 1.001 MB / 0.5129 GB, free: 7.605 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.2864, allocations: 1.573 MB / 0.5145 GB, free: 5.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.2865, allocations: 4 kB / 0.5145 GB, free: 5.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002816/0.2893, allocations: 1.764 MB / 0.5162 GB, free: 3.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.2894, allocations: 16 kB / 0.5162 GB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001621/0.291, allocations: 0.9842 MB / 0.5172 GB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008/0.2918, allocations: 246.5 kB / 0.5174 GB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/0.2927, allocations: 315.5 kB / 0.5177 GB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/0.2968, allocations: 4.791 MB / 0.5224 GB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/0.2976, allocations: 59.89 kB / 0.5224 GB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.9e-05/0.2977, allocations: 64 kB / 0.5225 GB, free: 13.11 MB / 362.7 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.0005925/0.2983, allocations: 437.1 kB / 0.5229 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.2984, allocations: 98.72 kB / 0.523 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.2999, allocations: 0.9492 MB / 0.5239 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.2999, allocations: 8 kB / 0.5239 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2999, allocations: 4 kB / 0.524 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.3, allocations: 7.984 kB / 0.524 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.3032, allocations: 2.119 MB / 0.526 GB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.3033, allocations: 4 kB / 0.526 GB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008265/0.3041, allocations: 187.8 kB / 0.5262 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3041, allocations: 4 kB / 0.5262 GB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/0.3042, allocations: 32.17 kB / 0.5262 GB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/0.3042, allocations: 7.938 kB / 0.5263 GB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3042, allocations: 3.938 kB / 0.5263 GB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.3059, allocations: 1.389 MB / 0.5276 GB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.3061, allocations: 163.9 kB / 0.5278 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.3062, allocations: 23.98 kB / 0.5278 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.3067, allocations: 23.98 kB / 0.5278 GB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/0.3068, allocations: 60.52 kB / 0.5279 GB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.3068, allocations: 20 kB / 0.5279 GB, free: 7.426 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005991/0.3074, allocations: 0.538 MB / 0.5284 GB, free: 6.895 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3074, allocations: 0 / 0.5284 GB, free: 6.895 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009467/0.3084, allocations: 300 kB / 0.5287 GB, free: 6.602 MB / 362.7 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.0001446/0.3085, allocations: 119.2 kB / 0.5288 GB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.3105, allocations: 1.449 MB / 0.5302 GB, free: 4.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3106, allocations: 5.578 kB / 0.5302 GB, free: 4.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005226/0.3111, allocations: 407.4 kB / 0.5306 GB, free: 4.594 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/0.3121, allocations: 178.2 kB / 0.5308 GB, free: 4.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.3161, allocations: 3.424 MB / 0.5341 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.3169, allocations: 1.243 MB / 0.5354 GB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.3172, allocations: 95.42 kB / 0.5354 GB, free: 15.57 MB / 378.7 MB Notification: Performance of SimCode: time 4.9e-07/0.3172, allocations: 0 / 0.5354 GB, free: 15.57 MB / 378.7 MB Notification: Performance of Templates: time 0.02458/0.3418, allocations: 20.17 MB / 0.5551 GB, free: 11.35 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)