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.001243/0.001243, allocations: 174.4 kB / 13.63 MB, free: 1.684 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.763/1.763, allocations: 205.2 MB / 219.4 MB, free: 14.25 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.0008235/0.0008235, allocations: 94.64 kB / 267.5 MB, free: 14.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.159/0.159, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.141e-05, allocations: 4 kB / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1265, allocations: 56.33 MB / 474.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.62, allocations: 102.4 MB / 0.563 GB, free: 460 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.6204, allocations: 88.88 kB / 0.5631 GB, free: 416 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09975/0.7202, allocations: 32.56 MB / 0.5949 GB, free: 4.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7202, allocations: 0 / 0.5949 GB, free: 4.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000134/0.7204, allocations: 31.06 kB / 0.5949 GB, free: 4.297 MB / 394.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.004816/0.7252, allocations: 1.311 MB / 0.5962 GB, free: 3.016 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.813e-05/0.7253, allocations: 8.031 kB / 0.5962 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001035/0.7263, allocations: 201.4 kB / 0.5964 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/0.729, allocations: 281.4 kB / 0.5967 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007004/0.7361, allocations: 1.764 MB / 0.5984 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.7362, allocations: 90.25 kB / 0.5985 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006372/0.7369, allocations: 123.2 kB / 0.5986 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004888/0.7418, allocations: 1.77 MB / 0.6003 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.623e-05/0.7419, allocations: 7.938 kB / 0.6003 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/0.7422, allocations: 58.67 kB / 0.6004 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/0.7424, allocations: 77.58 kB / 0.6005 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/0.7459, allocations: 1.356 MB / 0.6018 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.7601, allocations: 7.967 MB / 0.6096 GB, free: 7.105 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.7618, allocations: 0.9279 MB / 0.6105 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009631/0.7628, allocations: 0.5736 MB / 0.611 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.763, allocations: 16.08 kB / 0.6111 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.763, allocations: 41.66 kB / 0.6111 GB, free: 5.883 MB / 410.7 MB Notification: Performance of pre-optimization done (n=98): time 7.454e-06/0.763, allocations: 0 / 0.6111 GB, free: 5.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=99): time 0.006168/0.7692, allocations: 2.476 MB / 0.6135 GB, free: 3.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.7694, allocations: 89.92 kB / 0.6136 GB, free: 3.699 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.7709, allocations: 0.672 MB / 0.6143 GB, free: 3.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.771, allocations: 41.7 kB / 0.6143 GB, free: 2.969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007367/0.7718, allocations: 0.638 MB / 0.6149 GB, free: 2.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005495/0.7724, allocations: 362.9 kB / 0.6153 GB, free: 1.961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/0.7725, allocations: 24 kB / 0.6153 GB, free: 1.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004047/0.7729, allocations: 414.7 kB / 0.6157 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.774, allocations: 0.4952 MB / 0.6162 GB, free: 1.031 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.7757, allocations: 0.9752 MB / 0.6171 GB, free: 15.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.7772, allocations: 0.6916 MB / 0.6178 GB, free: 15.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/0.7773, allocations: 8 kB / 0.6178 GB, free: 15.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004441/0.7817, allocations: 1.817 MB / 0.6196 GB, free: 13.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.7818, allocations: 12 kB / 0.6196 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00244/0.7842, allocations: 1.142 MB / 0.6207 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.7853, allocations: 254.4 kB / 0.6209 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.7866, allocations: 303.5 kB / 0.6212 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006043/0.7926, allocations: 4.779 MB / 0.6259 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.7941, allocations: 63.95 kB / 0.626 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/0.7945, allocations: 67.98 kB / 0.626 GB, free: 6.281 MB / 426.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 () * 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.0007571/0.7952, allocations: 189.5 kB / 0.6262 GB, free: 6.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/0.7957, allocations: 94.78 kB / 0.6263 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.7983, allocations: 1.147 MB / 0.6274 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/0.7984, allocations: 19.98 kB / 0.6274 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7984, allocations: 8 kB / 0.6274 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.7984, allocations: 7.938 kB / 0.6274 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005445/0.8039, allocations: 2.414 MB / 0.6298 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.8039, allocations: 4 kB / 0.6298 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.8049, allocations: 203.7 kB / 0.63 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-05/0.8049, allocations: 4 kB / 0.63 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/0.805, allocations: 23.98 kB / 0.63 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.8051, allocations: 8 kB / 0.63 GB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8051, allocations: 4.188 kB / 0.63 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.8078, allocations: 1.77 MB / 0.6318 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.8083, allocations: 167.8 kB / 0.6319 GB, free: 32 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/0.8087, allocations: 27.98 kB / 0.632 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008766/0.8096, allocations: 56.06 kB / 0.632 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.8098, allocations: 64.88 kB / 0.6321 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.668e-05/0.8099, allocations: 23.98 kB / 0.6321 GB, free: 15.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001396/0.8113, allocations: 0.5069 MB / 0.6326 GB, free: 15.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.8113, allocations: 0 / 0.6326 GB, free: 15.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002095/0.8134, allocations: 343.9 kB / 0.6329 GB, free: 15.02 MB / 442.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 () * 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.004023/0.8174, allocations: 2.914 MB / 0.6358 GB, free: 12.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.8206, allocations: 1.589 MB / 0.6373 GB, free: 10.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.8206, allocations: 3.938 kB / 0.6373 GB, free: 10.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000784/0.8214, allocations: 0.4924 MB / 0.6378 GB, free: 9.906 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.8225, allocations: 160.7 kB / 0.638 GB, free: 9.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006447/0.8289, allocations: 2.733 MB / 0.6406 GB, free: 6.953 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.8304, allocations: 1.276 MB / 0.6419 GB, free: 5.645 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001332/0.8317, allocations: 416.5 kB / 0.6423 GB, free: 5.234 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007899/0.8325, allocations: 463.3 kB / 0.6427 GB, free: 4.781 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/0.8326, allocations: 0 / 0.6427 GB, free: 4.781 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05638/0.8889, allocations: 21.99 MB / 0.6642 GB, free: 14.81 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.8893, allocations: 184.7 kB / 0.6644 GB, free: 14.59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/3.743, allocations: 3.938 kB / 0.6644 GB, free: 14.58 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