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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 106.8 kB / 17.06 MB, free: 6.094 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.001163/0.001163, allocations: 195 kB / 18 MB, free: 5.172 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.328/1.328, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1782/0.1782, allocations: 37.99 MB / 309.2 MB, free: 5.934 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.001518/0.001518, allocations: 71.91 kB / 431.4 MB, free: 16.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09806, allocations: 55.24 MB / 486.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.009583/0.1077, allocations: 8.929 MB / 495.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005479/0.1132, allocations: 3.077 MB / 498.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009923/0.1142, allocations: 35.81 kB / 498.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002867/0.1172, allocations: 1.077 MB / 499.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.119, allocations: 0.6296 MB / 0.4886 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.1213, allocations: 0.7249 MB / 0.4893 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.1233, allocations: 1.629 MB / 0.4909 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.1246, allocations: 0.9053 MB / 0.4918 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.126, allocations: 0.7276 MB / 0.4925 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.1277, allocations: 0.9424 MB / 0.4935 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004147/0.1282, allocations: 104 kB / 0.4936 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.1296, allocations: 455.3 kB / 0.494 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000865/0.1304, allocations: 0.6585 MB / 0.4946 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.1318, allocations: 0.7153 MB / 0.4953 GB, free: 4.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.1344, allocations: 1.783 MB / 0.4971 GB, free: 2.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1344, allocations: 0 / 0.4971 GB, free: 2.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1344, allocations: 0 / 0.4971 GB, free: 2.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.772e-05/0.1345, allocations: 0 / 0.4971 GB, free: 2.453 MB / 382.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.003513/0.138, allocations: 1.639 MB / 0.4987 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.138, allocations: 15.89 kB / 0.4987 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003141/0.1384, allocations: 194.4 kB / 0.4989 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.1401, allocations: 275 kB / 0.4991 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.1418, allocations: 0.887 MB / 0.5 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.1419, allocations: 90.7 kB / 0.5001 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/0.1423, allocations: 151.8 kB / 0.5002 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.1451, allocations: 1.858 MB / 0.502 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.1452, allocations: 11.88 kB / 0.5021 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.1453, allocations: 52 kB / 0.5021 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002874/0.1456, allocations: 98.16 kB / 0.5022 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.1479, allocations: 1.487 MB / 0.5036 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00826/0.1562, allocations: 8.261 MB / 0.5117 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.1575, allocations: 1.167 MB / 0.5129 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.1581, allocations: 496 kB / 0.5133 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.678e-05/0.1582, allocations: 20.62 kB / 0.5133 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1582, allocations: 43.22 kB / 0.5134 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.234e-06/0.1582, allocations: 0 / 0.5134 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.0037/0.1619, allocations: 2.441 MB / 0.5158 GB, free: 14.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.162, allocations: 97.83 kB / 0.5159 GB, free: 14.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/0.1628, allocations: 0.8173 MB / 0.5167 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.1629, allocations: 45.69 kB / 0.5167 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/0.1633, allocations: 0.6725 MB / 0.5174 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.1636, allocations: 307.7 kB / 0.5177 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.1639, allocations: 259.3 kB / 0.5179 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1641, allocations: 414.7 kB / 0.5183 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/0.1647, allocations: 451.7 kB / 0.5187 GB, free: 11.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009468/0.1657, allocations: 1.005 MB / 0.5197 GB, free: 10.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.1674, allocations: 1.581 MB / 0.5213 GB, free: 8.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.1674, allocations: 8 kB / 0.5213 GB, free: 8.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002937/0.1704, allocations: 1.775 MB / 0.523 GB, free: 6.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.1704, allocations: 12 kB / 0.523 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001618/0.172, allocations: 0.9851 MB / 0.524 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009902/0.173, allocations: 250.8 kB / 0.5242 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009852/0.174, allocations: 311.5 kB / 0.5245 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2171/0.3912, allocations: 5.169 MB / 0.5296 GB, free: 48.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009857/0.3922, allocations: 57.3 kB / 0.5296 GB, free: 48.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.3923, allocations: 69.59 kB / 0.5297 GB, free: 48.57 MB / 414.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.0005979/0.3929, allocations: 428.8 kB / 0.5301 GB, free: 48.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.393, allocations: 97.09 kB / 0.5302 GB, free: 48.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.3945, allocations: 0.9562 MB / 0.5311 GB, free: 48.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3945, allocations: 8.406 kB / 0.5311 GB, free: 48.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3946, allocations: 2.156 kB / 0.5311 GB, free: 48.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3946, allocations: 4.359 kB / 0.5311 GB, free: 48.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/0.3979, allocations: 2.127 MB / 0.5332 GB, free: 48.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3979, allocations: 3.109 kB / 0.5332 GB, free: 48.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008332/0.3988, allocations: 179.8 kB / 0.5334 GB, free: 48.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.3988, allocations: 10.33 kB / 0.5334 GB, free: 48.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.3989, allocations: 23.23 kB / 0.5334 GB, free: 48.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.3989, allocations: 16.83 kB / 0.5334 GB, free: 48.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3989, allocations: 2.438 kB / 0.5334 GB, free: 48.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.4007, allocations: 1.4 MB / 0.5348 GB, free: 47.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.4009, allocations: 163.3 kB / 0.535 GB, free: 47.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.401, allocations: 24.86 kB / 0.535 GB, free: 47.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.4014, allocations: 23.47 kB / 0.535 GB, free: 47.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4015, allocations: 59.39 kB / 0.5351 GB, free: 47.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/0.4015, allocations: 22.91 kB / 0.5351 GB, free: 47.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007158/0.4022, allocations: 0.5429 MB / 0.5356 GB, free: 47.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4023, allocations: 1.125 kB / 0.5356 GB, free: 47.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00117/0.4034, allocations: 292.2 kB / 0.5359 GB, free: 47.29 MB / 414.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.001908/0.4053, allocations: 1.969 MB / 0.5378 GB, free: 46.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002412/0.4078, allocations: 1.475 MB / 0.5392 GB, free: 45.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4078, allocations: 0 / 0.5392 GB, free: 45.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000894/0.4087, allocations: 406.8 kB / 0.5396 GB, free: 45.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.4099, allocations: 186.2 kB / 0.5398 GB, free: 45.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.4235, allocations: 10.29 MB / 0.5499 GB, free: 39.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/0.4242, allocations: 1.243 MB / 0.5511 GB, free: 38.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009244/0.4251, allocations: 424.8 kB / 0.5515 GB, free: 38.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/0.4256, allocations: 465.4 kB / 0.5519 GB, free: 38.32 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4256, allocations: 0 / 0.5519 GB, free: 38.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04307/0.4687, allocations: 21.17 MB / 0.5726 GB, free: 21.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.48, allocations: 15.78 kB / 0.5726 GB, free: 21.13 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)