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.001829/0.001829, allocations: 173.8 kB / 15.77 MB, free: 6.324 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.644/1.644, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0007275/0.0007275, allocations: 90.36 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1679/0.1679, allocations: 38.07 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09378, allocations: 56.34 MB / 479.1 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.009547/0.1034, allocations: 9.808 MB / 488.9 MB, free: 8.191 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.1103, allocations: 3.516 MB / 492.4 MB, free: 4.664 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.1114, allocations: 75.5 kB / 492.5 MB, free: 4.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008322/0.1123, allocations: 309.8 kB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.1141, allocations: 0.7268 MB / 493.5 MB, free: 3.555 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.1161, allocations: 0.7135 MB / 494.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.1182, allocations: 1.937 MB / 496.1 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.1205, allocations: 1.317 MB / 497.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.1217, allocations: 0.5988 MB / 498.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.1229, allocations: 0.9115 MB / 499 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.1231, allocations: 56 kB / 499 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007676/0.1238, allocations: 311.5 kB / 499.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005261/0.1244, allocations: 0.6118 MB / 499.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.1247, allocations: 269 kB / 0.4885 GB, free: 12.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.126, allocations: 1.321 MB / 0.4898 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.126, allocations: 0 / 0.4898 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.126, allocations: 0 / 0.4898 GB, free: 11.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.126, allocations: 0 / 0.4898 GB, free: 11.45 MB / 346.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.00255/0.1286, allocations: 1.412 MB / 0.4911 GB, free: 9.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1286, allocations: 12.03 kB / 0.4912 GB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.1302, allocations: 274 kB / 0.4914 GB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.1316, allocations: 0.8121 MB / 0.4922 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.811e-05/0.1317, allocations: 94.33 kB / 0.4923 GB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.132, allocations: 147.9 kB / 0.4924 GB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.1346, allocations: 1.846 MB / 0.4942 GB, free: 6.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.1346, allocations: 7.938 kB / 0.4943 GB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.1347, allocations: 55.98 kB / 0.4943 GB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002836/0.135, allocations: 98.14 kB / 0.4944 GB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.1373, allocations: 1.491 MB / 0.4959 GB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008614/0.1459, allocations: 8.285 MB / 0.504 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.1472, allocations: 1.163 MB / 0.5051 GB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006311/0.1479, allocations: 487.9 kB / 0.5056 GB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.23e-05/0.1479, allocations: 16.62 kB / 0.5056 GB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.148, allocations: 51.16 kB / 0.5056 GB, free: 10.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 3.386e-06/0.148, allocations: 0 / 0.5056 GB, free: 10.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.003785/0.1518, allocations: 2.425 MB / 0.508 GB, free: 7.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.1519, allocations: 89.7 kB / 0.5081 GB, free: 7.859 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008883/0.1528, allocations: 0.8175 MB / 0.5089 GB, free: 7.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.1528, allocations: 45.7 kB / 0.5089 GB, free: 6.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/0.1533, allocations: 0.6802 MB / 0.5096 GB, free: 6.289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.1536, allocations: 303.7 kB / 0.5099 GB, free: 5.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.1537, allocations: 32 kB / 0.5099 GB, free: 5.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1539, allocations: 410.7 kB / 0.5103 GB, free: 5.547 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006539/0.1545, allocations: 451.7 kB / 0.5107 GB, free: 5.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.1556, allocations: 0.9968 MB / 0.5117 GB, free: 3.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/0.1565, allocations: 0.6391 MB / 0.5123 GB, free: 3.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.1565, allocations: 8 kB / 0.5123 GB, free: 3.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002908/0.1594, allocations: 1.756 MB / 0.514 GB, free: 1.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.1594, allocations: 12 kB / 0.5141 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001691/0.1611, allocations: 0.9888 MB / 0.515 GB, free: 436 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008796/0.162, allocations: 246.3 kB / 0.5153 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.189/0.351, allocations: 312.6 kB / 0.5155 GB, free: 51.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.355, allocations: 4.786 MB / 0.5202 GB, free: 47.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008731/0.3559, allocations: 51.08 kB / 0.5203 GB, free: 47.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/0.356, allocations: 71.84 kB / 0.5203 GB, free: 47.93 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.0006139/0.3566, allocations: 434.3 kB / 0.5208 GB, free: 47.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.3568, allocations: 100.8 kB / 0.5209 GB, free: 47.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.3583, allocations: 0.9551 MB / 0.5218 GB, free: 47.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.3583, allocations: 9.625 kB / 0.5218 GB, free: 47.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3583, allocations: 0.75 kB / 0.5218 GB, free: 47.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3583, allocations: 4.703 kB / 0.5218 GB, free: 47.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.3618, allocations: 2.117 MB / 0.5239 GB, free: 46.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.3618, allocations: 2.594 kB / 0.5239 GB, free: 46.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008573/0.3627, allocations: 186.7 kB / 0.524 GB, free: 46.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.3627, allocations: 10.52 kB / 0.5241 GB, free: 46.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.251e-05/0.3628, allocations: 24.5 kB / 0.5241 GB, free: 46.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.3628, allocations: 8.062 kB / 0.5241 GB, free: 46.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3628, allocations: 3.594 kB / 0.5241 GB, free: 46.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.3646, allocations: 1.401 MB / 0.5255 GB, free: 45.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.3647, allocations: 170 kB / 0.5256 GB, free: 45.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3649, allocations: 21.73 kB / 0.5256 GB, free: 45.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.3652, allocations: 22.05 kB / 0.5257 GB, free: 45.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.3653, allocations: 58.28 kB / 0.5257 GB, free: 45.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.3654, allocations: 23.62 kB / 0.5257 GB, free: 45.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006514/0.3661, allocations: 0.537 MB / 0.5263 GB, free: 45.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3661, allocations: 0 / 0.5263 GB, free: 45.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001046/0.3671, allocations: 294.1 kB / 0.5265 GB, free: 45.54 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.0001392/0.3673, allocations: 130.8 kB / 0.5267 GB, free: 45.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.3696, allocations: 1.451 MB / 0.5281 GB, free: 44.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3697, allocations: 0 / 0.5281 GB, free: 44.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.3702, allocations: 414.2 kB / 0.5285 GB, free: 44.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/0.3711, allocations: 169.5 kB / 0.5286 GB, free: 44.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.3757, allocations: 3.402 MB / 0.532 GB, free: 42.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/0.3766, allocations: 1.248 MB / 0.5332 GB, free: 41.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.377, allocations: 93.38 kB / 0.5333 GB, free: 41.81 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.377, allocations: 4 kB / 0.5333 GB, free: 41.81 MB / 362.7 MB Notification: Performance of Templates: time 0.02228/0.3992, allocations: 20.2 MB / 0.553 GB, free: 26.3 MB / 362.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)