Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_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.0009098/0.0009102, allocations: 88.16 kB / 16.31 MB, free: 5.547 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.0009078/0.0009079, allocations: 181.5 kB / 17.21 MB, free: 5.465 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.44/1.44, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1928/0.1928, allocations: 38.08 MB / 330.4 MB, free: 8.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.000335, allocations: 8 kB / 400.2 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 59.17 MB / 459.3 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.0139/0.1279, allocations: 9.812 MB / 469.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008655/0.1366, allocations: 3.476 MB / 472.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.1384, allocations: 71.5 kB / 472.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.14, allocations: 317.8 kB / 473 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003891/0.1439, allocations: 0.7268 MB / 473.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.1471, allocations: 0.7135 MB / 474.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003799/0.1509, allocations: 1.941 MB / 476.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/0.1544, allocations: 1.316 MB / 477.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.1566, allocations: 0.5911 MB / 478.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.1591, allocations: 0.9114 MB / 479.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004216/0.1595, allocations: 52 kB / 479.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.1611, allocations: 323.5 kB / 479.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.1621, allocations: 0.6118 MB / 480.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007862/0.1629, allocations: 265 kB / 480.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.1648, allocations: 1.325 MB / 481.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1648, allocations: 0 / 481.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1648, allocations: 0 / 481.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-05/0.1649, allocations: 0 / 481.8 MB, free: 0.7422 MB / 350.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.002965/0.1678, allocations: 1.416 MB / 483.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1679, allocations: 8.031 kB / 483.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004366/0.1683, allocations: 194.3 kB / 483.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.1701, allocations: 274 kB / 483.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.1717, allocations: 0.8121 MB / 484.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.881e-05/0.1718, allocations: 86.33 kB / 484.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003972/0.1722, allocations: 155.8 kB / 484.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/0.1755, allocations: 1.839 MB / 486.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.1755, allocations: 11.88 kB / 486.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.1757, allocations: 55.98 kB / 486.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002734/0.176, allocations: 98.16 kB / 486.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.1786, allocations: 1.484 MB / 488.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009445/0.188, allocations: 8.296 MB / 496.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.1894, allocations: 1.16 MB / 497.6 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006891/0.1902, allocations: 484.2 kB / 498.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.1902, allocations: 12.64 kB / 498.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.1903, allocations: 47.22 kB / 498.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.444e-06/0.1903, allocations: 0 / 498.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.00461/0.1949, allocations: 2.421 MB / 0.4889 GB, free: 13.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/0.195, allocations: 89.77 kB / 0.4889 GB, free: 12.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.1963, allocations: 0.8173 MB / 0.4897 GB, free: 12.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.1964, allocations: 41.83 kB / 0.4898 GB, free: 12.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006271/0.197, allocations: 0.6803 MB / 0.4904 GB, free: 11.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.1974, allocations: 311.7 kB / 0.4907 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.1974, allocations: 24 kB / 0.4908 GB, free: 11.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002581/0.1977, allocations: 418.7 kB / 0.4912 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008172/0.1985, allocations: 443.7 kB / 0.4916 GB, free: 10.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.1998, allocations: 1.001 MB / 0.4926 GB, free: 8.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.2009, allocations: 0.6353 MB / 0.4932 GB, free: 8.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.2009, allocations: 8 kB / 0.4932 GB, free: 8.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003358/0.2043, allocations: 1.76 MB / 0.4949 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.2043, allocations: 12 kB / 0.4949 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00179/0.2061, allocations: 0.981 MB / 0.4959 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008651/0.207, allocations: 254.3 kB / 0.4961 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/0.208, allocations: 311.4 kB / 0.4964 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2385/0.4466, allocations: 4.786 MB / 0.5011 GB, free: 53.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009727/0.4476, allocations: 56.41 kB / 0.5011 GB, free: 53.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.4477, allocations: 68.77 kB / 0.5012 GB, free: 53.22 MB / 382.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.0006834/0.4484, allocations: 424.3 kB / 0.5016 GB, free: 53.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.4486, allocations: 98.64 kB / 0.5017 GB, free: 53.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.4502, allocations: 0.9545 MB / 0.5026 GB, free: 53.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.4502, allocations: 12.31 kB / 0.5027 GB, free: 53.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4502, allocations: 4.641 kB / 0.5027 GB, free: 53.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.4502, allocations: 5.766 kB / 0.5027 GB, free: 53.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/0.4539, allocations: 2.118 MB / 0.5047 GB, free: 52.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4539, allocations: 2.719 kB / 0.5047 GB, free: 52.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00084/0.4547, allocations: 186.6 kB / 0.5049 GB, free: 52.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.4548, allocations: 6.125 kB / 0.5049 GB, free: 52.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/0.4548, allocations: 27.72 kB / 0.5049 GB, free: 52.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.4548, allocations: 5.734 kB / 0.505 GB, free: 52.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.4548, allocations: 8.188 kB / 0.505 GB, free: 52.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.4567, allocations: 1.392 MB / 0.5063 GB, free: 52.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.457, allocations: 172.3 kB / 0.5065 GB, free: 52.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.4571, allocations: 22 kB / 0.5065 GB, free: 52.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.4575, allocations: 27.56 kB / 0.5065 GB, free: 52.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.4576, allocations: 53.05 kB / 0.5066 GB, free: 52.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.4576, allocations: 27.55 kB / 0.5066 GB, free: 52.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008162/0.4585, allocations: 0.5333 MB / 0.5071 GB, free: 51.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4585, allocations: 1.344 kB / 0.5071 GB, free: 51.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001247/0.4597, allocations: 295.7 kB / 0.5074 GB, free: 51.87 MB / 382.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.002149/0.4619, allocations: 1.966 MB / 0.5093 GB, free: 50.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.4644, allocations: 1.453 MB / 0.5108 GB, free: 50.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4644, allocations: 0 / 0.5108 GB, free: 50.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007659/0.4652, allocations: 408.8 kB / 0.5111 GB, free: 49.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.4663, allocations: 177.9 kB / 0.5113 GB, free: 49.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.4779, allocations: 7.789 MB / 0.5189 GB, free: 45.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008273/0.4788, allocations: 1.253 MB / 0.5201 GB, free: 44.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001068/0.4799, allocations: 415.8 kB / 0.5205 GB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.4804, allocations: 461.1 kB / 0.521 GB, free: 44.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4804, allocations: 0 / 0.521 GB, free: 44.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.5115, allocations: 20.05 MB / 0.5406 GB, free: 28.85 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001255/0.5117, allocations: 226 kB / 0.5408 GB, free: 28.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.695, allocations: 0 / 0.5408 GB, free: 28.61 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat does not exist to compare? outputFormat=mat