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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001081/0.001081, allocations: 114.9 kB / 16.63 MB, free: 6.812 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.001041/0.001041, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1726/0.1726, allocations: 38.03 MB / 329.4 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.44 kB / 398.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1016, allocations: 58.07 MB / 456.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01109/0.1127, allocations: 10.98 MB / 467.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006428/0.1192, allocations: 3.657 MB / 471.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.1206, allocations: 75.5 kB / 471.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.1232, allocations: 1.025 MB / 472.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.1247, allocations: 0.5717 MB / 472.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.1265, allocations: 0.6668 MB / 473.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.1284, allocations: 1.621 MB / 475 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.1297, allocations: 0.9795 MB / 476 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.1309, allocations: 0.7276 MB / 476.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.1324, allocations: 1.005 MB / 477.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002968/0.1327, allocations: 108 kB / 477.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.1337, allocations: 451.3 kB / 478.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.1345, allocations: 0.6702 MB / 479 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.1355, allocations: 0.7114 MB / 479.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.1386, allocations: 1.772 MB / 481.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1386, allocations: 0 / 481.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1386, allocations: 0 / 481.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001029/0.1387, allocations: 0 / 481.5 MB, free: 15.21 MB / 366.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.004614/0.1433, allocations: 1.646 MB / 483.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1434, allocations: 15.73 kB / 483.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004014/0.1438, allocations: 198.4 kB / 483.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.1456, allocations: 267 kB / 483.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.1471, allocations: 0.8363 MB / 484.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.1472, allocations: 90.72 kB / 484.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/0.1475, allocations: 151.8 kB / 484.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.1502, allocations: 1.85 MB / 486.5 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.1503, allocations: 7.938 kB / 486.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.1504, allocations: 59.98 kB / 486.6 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/0.1507, allocations: 106.1 kB / 486.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.1529, allocations: 1.484 MB / 488.2 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009459/0.1623, allocations: 8.284 MB / 496.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.1638, allocations: 1.167 MB / 497.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.1646, allocations: 492.2 kB / 498.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.516e-05/0.1647, allocations: 16.58 kB / 498.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.1647, allocations: 47.22 kB / 498.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.076e-06/0.1647, allocations: 3.938 kB / 498.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.004312/0.1691, allocations: 2.433 MB / 0.4888 GB, free: 11.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.1691, allocations: 97.64 kB / 0.4889 GB, free: 11.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.1704, allocations: 0.8174 MB / 0.4897 GB, free: 10.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.126e-05/0.1705, allocations: 37.83 kB / 0.4898 GB, free: 10.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.171, allocations: 0.688 MB / 0.4904 GB, free: 9.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.1714, allocations: 299.8 kB / 0.4907 GB, free: 9.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/0.1717, allocations: 259.3 kB / 0.491 GB, free: 9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002893/0.172, allocations: 414.7 kB / 0.4914 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007/0.1727, allocations: 447.7 kB / 0.4918 GB, free: 8.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.1739, allocations: 1.005 MB / 0.4928 GB, free: 6.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.176, allocations: 1.589 MB / 0.4943 GB, free: 5.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/0.176, allocations: 8 kB / 0.4943 GB, free: 5.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003377/0.1794, allocations: 1.772 MB / 0.4961 GB, free: 3.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.1794, allocations: 12 kB / 0.4961 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001707/0.1811, allocations: 0.9842 MB / 0.497 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008739/0.182, allocations: 254.4 kB / 0.4973 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.183, allocations: 307.5 kB / 0.4976 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/0.1878, allocations: 5.184 MB / 0.5026 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008818/0.1887, allocations: 51.98 kB / 0.5027 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.1888, allocations: 68 kB / 0.5028 GB, free: 11.96 MB / 398.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.0007076/0.1895, allocations: 429.2 kB / 0.5032 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.1897, allocations: 102.7 kB / 0.5033 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.1913, allocations: 0.9493 MB / 0.5042 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.1913, allocations: 15.94 kB / 0.5042 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1913, allocations: 3.938 kB / 0.5042 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.1914, allocations: 3.984 kB / 0.5042 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.1951, allocations: 2.127 MB / 0.5063 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.1951, allocations: 4 kB / 0.5063 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/0.196, allocations: 192 kB / 0.5065 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.1961, allocations: 4 kB / 0.5065 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.023e-05/0.1961, allocations: 23.98 kB / 0.5065 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.1962, allocations: 4 kB / 0.5065 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1962, allocations: 4 kB / 0.5065 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.1981, allocations: 1.408 MB / 0.5079 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.1985, allocations: 171.8 kB / 0.5081 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.1987, allocations: 23.98 kB / 0.5081 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.1991, allocations: 19.98 kB / 0.5081 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1993, allocations: 64.56 kB / 0.5082 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.1993, allocations: 23.98 kB / 0.5082 GB, free: 6.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006807/0.2, allocations: 0.5419 MB / 0.5087 GB, free: 5.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2, allocations: 0 / 0.5087 GB, free: 5.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001089/0.2011, allocations: 296 kB / 0.509 GB, free: 5.422 MB / 398.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.002235/0.2033, allocations: 1.969 MB / 0.5109 GB, free: 3.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.2062, allocations: 1.751 MB / 0.5126 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2062, allocations: 0.6875 kB / 0.5126 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.2068, allocations: 411.4 kB / 0.513 GB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00096/0.2078, allocations: 193.5 kB / 0.5132 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1887/0.3965, allocations: 11.13 MB / 0.5241 GB, free: 66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009151/0.3975, allocations: 1.248 MB / 0.5253 GB, free: 65.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001102/0.3986, allocations: 421.6 kB / 0.5257 GB, free: 65.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.3991, allocations: 466 kB / 0.5261 GB, free: 64.84 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3991, allocations: 0 / 0.5261 GB, free: 64.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.4375, allocations: 20.4 MB / 0.5461 GB, free: 53.98 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.4376, allocations: 228.6 kB / 0.5463 GB, free: 53.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.775, allocations: 0 / 0.5463 GB, free: 53.73 MB / 398.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)