Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",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.002145/0.002145, allocations: 175.5 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.68/1.68, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001071/0.001071, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1687/0.1687, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.425e-05, allocations: 4 kB / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1243, allocations: 56.32 MB / 474.2 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/0.6211, allocations: 109.7 MB / 0.5701 GB, free: 9.293 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.6215, allocations: 97.72 kB / 0.5702 GB, free: 9.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08458/0.7061, allocations: 24.39 MB / 0.594 GB, free: 4.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7062, allocations: 0 / 0.594 GB, free: 4.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.346e-05/0.7062, allocations: 16 kB / 0.5941 GB, free: 4.191 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003549/0.7098, allocations: 1.202 MB / 0.5952 GB, free: 2.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.7099, allocations: 12.03 kB / 0.5953 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002816/0.7101, allocations: 145.3 kB / 0.5954 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009704/0.7111, allocations: 142.7 kB / 0.5955 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/0.7157, allocations: 1.247 MB / 0.5967 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/0.7161, allocations: 182.8 kB / 0.5969 GB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.7163, allocations: 87.7 kB / 0.597 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.7195, allocations: 1.323 MB / 0.5983 GB, free: 492 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.7195, allocations: 0 / 0.5983 GB, free: 492 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.7197, allocations: 33.06 kB / 0.5983 GB, free: 484 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002313/0.7199, allocations: 80.08 kB / 0.5984 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/0.7229, allocations: 1.351 MB / 0.5997 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.734, allocations: 4.436 MB / 0.6041 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.7367, allocations: 1.17 MB / 0.6052 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.7382, allocations: 0.6841 MB / 0.6059 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.656e-05/0.7383, allocations: 11.41 kB / 0.6059 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.7384, allocations: 41.34 kB / 0.6059 GB, free: 10.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 6.683e-06/0.7384, allocations: 7.938 kB / 0.6059 GB, free: 10.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.006653/0.745, allocations: 2.8 MB / 0.6087 GB, free: 8.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.7451, allocations: 85.89 kB / 0.6087 GB, free: 8.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.7458, allocations: 347.2 kB / 0.6091 GB, free: 7.992 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-05/0.7459, allocations: 41.33 kB / 0.6091 GB, free: 7.957 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.7462, allocations: 336.6 kB / 0.6094 GB, free: 7.699 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/0.7467, allocations: 361.7 kB / 0.6098 GB, free: 7.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.7467, allocations: 19.55 kB / 0.6098 GB, free: 7.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.747, allocations: 379.3 kB / 0.6102 GB, free: 7.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.7482, allocations: 0.5257 MB / 0.6107 GB, free: 6.684 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.7495, allocations: 0.6795 MB / 0.6113 GB, free: 6.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.7509, allocations: 0.6013 MB / 0.6119 GB, free: 5.746 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.7509, allocations: 0 / 0.6119 GB, free: 5.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003013/0.754, allocations: 1.365 MB / 0.6133 GB, free: 4.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.754, allocations: 8 kB / 0.6133 GB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.754, allocations: 4 kB / 0.6133 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/0.7541, allocations: 8 kB / 0.6133 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00424/0.7583, allocations: 0.6286 MB / 0.6139 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006572/0.7649, allocations: 4.55 MB / 0.6183 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.7663, allocations: 91.98 kB / 0.6184 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.7665, allocations: 32 kB / 0.6184 GB, free: 14.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (105): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.7668, allocations: 156.7 kB / 0.6186 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.7671, allocations: 67.16 kB / 0.6187 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.7701, allocations: 1.339 MB / 0.62 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-05/0.7702, allocations: 27.98 kB / 0.62 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.7702, allocations: 4 kB / 0.62 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.7703, allocations: 3.984 kB / 0.62 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/0.7759, allocations: 2.669 MB / 0.6226 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.7759, allocations: 0 / 0.6226 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00389/0.7798, allocations: 0.683 MB / 0.6233 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-05/0.7798, allocations: 4 kB / 0.6233 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.7799, allocations: 27.89 kB / 0.6233 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.567e-05/0.78, allocations: 12 kB / 0.6233 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.78, allocations: 3.938 kB / 0.6233 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004271/0.7843, allocations: 2.336 MB / 0.6256 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.7845, allocations: 132.3 kB / 0.6257 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.7847, allocations: 20 kB / 0.6257 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/0.7854, allocations: 87.89 kB / 0.6258 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.7856, allocations: 68.67 kB / 0.6259 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/0.7857, allocations: 32.08 kB / 0.6259 GB, free: 6.797 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000415/0.7861, allocations: 273.2 kB / 0.6262 GB, free: 6.531 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7861, allocations: 0 / 0.6262 GB, free: 6.531 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001098/0.7872, allocations: 267.8 kB / 0.6264 GB, free: 6.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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.004476/0.7917, allocations: 3.502 MB / 0.6299 GB, free: 2.688 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003791/0.7955, allocations: 1.654 MB / 0.6315 GB, free: 1.035 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.7955, allocations: 0 / 0.6315 GB, free: 1.035 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002878/0.7984, allocations: 1.141 MB / 0.6326 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.7993, allocations: 137.8 kB / 0.6327 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005492/0.8048, allocations: 2.489 MB / 0.6352 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008364/0.8056, allocations: 1.099 MB / 0.6362 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008456/0.8065, allocations: 261.5 kB / 0.6365 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/0.807, allocations: 291.3 kB / 0.6368 GB, free: 11.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.744e-06/0.807, allocations: 0 / 0.6368 GB, free: 11.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.847, allocations: 16.71 MB / 0.6531 GB, free: 10.86 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.8473, allocations: 186.4 kB / 0.6532 GB, free: 10.63 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.337, allocations: 4 kB / 0.6533 GB, free: 10.62 MB / 458.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-05 PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat does not exist to compare? outputFormat=mat