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/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: "" <> 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/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 181.1 kB / 16.39 MB, free: 5.762 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.228/1.228, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008471/0.0008471, allocations: 100.2 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1598/0.1598, allocations: 38.06 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002699, allocations: 8 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2773, allocations: 56.33 MB / 480.4 MB, free: 9.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.4097, allocations: 102.5 MB / 0.5692 GB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.41, allocations: 95.95 kB / 0.5693 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08459/0.4946, allocations: 32.58 MB / 0.6011 GB, free: 14.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4947, allocations: 0 / 0.6011 GB, free: 14.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.181e-05/0.4948, allocations: 28 kB / 0.6012 GB, free: 14.82 MB / 442.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.003389/0.4981, allocations: 1.453 MB / 0.6026 GB, free: 13.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4982, allocations: 8.031 kB / 0.6026 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004108/0.4986, allocations: 198.3 kB / 0.6028 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.5003, allocations: 278 kB / 0.603 GB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/0.5047, allocations: 1.783 MB / 0.6048 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.5048, allocations: 90.31 kB / 0.6049 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.505, allocations: 116 kB / 0.605 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.5076, allocations: 1.788 MB / 0.6067 GB, free: 8.828 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.5077, allocations: 15.78 kB / 0.6067 GB, free: 8.812 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.5078, allocations: 55.98 kB / 0.6068 GB, free: 8.758 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.5079, allocations: 82.08 kB / 0.6069 GB, free: 8.676 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.5101, allocations: 1.393 MB / 0.6082 GB, free: 7.273 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008269/0.5184, allocations: 7.952 MB / 0.616 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.5195, allocations: 0.9423 MB / 0.6169 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.58e-05/0.5196, allocations: 21.03 kB / 0.6169 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.5197, allocations: 43.56 kB / 0.617 GB, free: 13.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 3.006e-06/0.5197, allocations: 0 / 0.617 GB, free: 13.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=99): time 0.004718/0.5244, allocations: 3.223 MB / 0.6201 GB, free: 10.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.5245, allocations: 90.11 kB / 0.6202 GB, free: 10.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007629/0.5252, allocations: 0.6796 MB / 0.6209 GB, free: 9.793 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.5253, allocations: 45.81 kB / 0.6209 GB, free: 9.742 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004249/0.5257, allocations: 0.6419 MB / 0.6215 GB, free: 9.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.526, allocations: 351 kB / 0.6219 GB, free: 8.742 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.5261, allocations: 31.98 kB / 0.6219 GB, free: 8.711 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.5263, allocations: 414.7 kB / 0.6223 GB, free: 8.297 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007392/0.527, allocations: 0.5029 MB / 0.6228 GB, free: 7.797 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.5282, allocations: 0.9866 MB / 0.6238 GB, free: 6.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.5292, allocations: 0.6977 MB / 0.6244 GB, free: 5.895 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.5292, allocations: 4 kB / 0.6244 GB, free: 5.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003094/0.5323, allocations: 1.841 MB / 0.6262 GB, free: 4.027 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.5324, allocations: 12 kB / 0.6263 GB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001909/0.5343, allocations: 1.161 MB / 0.6274 GB, free: 2.848 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008921/0.5352, allocations: 250.3 kB / 0.6276 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.5363, allocations: 307.5 kB / 0.6279 GB, free: 2.293 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004202/0.5405, allocations: 4.849 MB / 0.6327 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007511/0.5412, allocations: 75.84 kB / 0.6327 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.662e-05/0.5414, allocations: 60 kB / 0.6328 GB, free: 12.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (160): * Single equations (assignments): 153 * Array equations: 4 * 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.0005952/0.542, allocations: 421.2 kB / 0.6332 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.5421, allocations: 94.78 kB / 0.6333 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.5439, allocations: 1.168 MB / 0.6344 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/0.544, allocations: 20 kB / 0.6344 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.544, allocations: 0 / 0.6344 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.544, allocations: 7.938 kB / 0.6344 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004116/0.5481, allocations: 2.438 MB / 0.6368 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.5481, allocations: 7.984 kB / 0.6368 GB, free: 8.668 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009419/0.5491, allocations: 195.8 kB / 0.637 GB, free: 8.477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.5491, allocations: 7.984 kB / 0.637 GB, free: 8.469 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/0.5492, allocations: 23.94 kB / 0.637 GB, free: 8.445 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.5492, allocations: 11.94 kB / 0.6371 GB, free: 8.434 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5492, allocations: 0 / 0.6371 GB, free: 8.434 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.5514, allocations: 1.813 MB / 0.6388 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.5516, allocations: 163.9 kB / 0.639 GB, free: 6.359 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.5517, allocations: 24.27 kB / 0.639 GB, free: 6.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.5522, allocations: 43.95 kB / 0.6391 GB, free: 6.293 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/0.5523, allocations: 60.88 kB / 0.6391 GB, free: 6.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.5524, allocations: 24 kB / 0.6391 GB, free: 6.211 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005667/0.553, allocations: 0.5146 MB / 0.6396 GB, free: 5.699 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.553, allocations: 0 / 0.6396 GB, free: 5.699 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001053/0.554, allocations: 343.9 kB / 0.64 GB, free: 5.363 MB / 474.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 (90): * Single equations (assignments): 85 * Array equations: 4 * 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.002776/0.5568, allocations: 2.93 MB / 0.6428 GB, free: 2.355 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.5589, allocations: 1.617 MB / 0.6444 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.559, allocations: 448 / 0.6444 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000629/0.5596, allocations: 0.5053 MB / 0.6449 GB, free: 200 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.5602, allocations: 163.9 kB / 0.6451 GB, free: 32 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1818/0.742, allocations: 18.75 MB / 0.6634 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009068/0.743, allocations: 1.275 MB / 0.6646 GB, free: 118.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001145/0.7441, allocations: 410.9 kB / 0.665 GB, free: 118.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/0.7447, allocations: 463.5 kB / 0.6654 GB, free: 118.7 MB / 474.7 MB Notification: Performance of SimCode: time 7.52e-07/0.7447, allocations: 0 / 0.6654 GB, free: 118.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03678/0.7815, allocations: 21.72 MB / 0.6867 GB, free: 117.5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/0.7816, allocations: 208.7 kB / 0.6869 GB, free: 117.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.174, allocations: 4 kB / 0.6869 GB, free: 117.2 MB / 474.7 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) 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