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.0009133/0.0009133, allocations: 180.6 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.261/1.261, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0008177/0.0008176, allocations: 91.17 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1565/0.1565, allocations: 38.07 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002626, allocations: 16 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2241, allocations: 56.31 MB / 480.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.3506, allocations: 109.8 MB / 0.5763 GB, free: 8.613 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3509, allocations: 95.94 kB / 0.5764 GB, free: 8.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06225/0.4132, allocations: 24.42 MB / 0.6003 GB, free: 15.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4132, allocations: 4.219 kB / 0.6003 GB, free: 15.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.183e-05/0.4133, allocations: 23.94 kB / 0.6003 GB, free: 15.78 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002712/0.416, allocations: 1.263 MB / 0.6015 GB, free: 14.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.416, allocations: 8.031 kB / 0.6016 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002379/0.4163, allocations: 147.6 kB / 0.6017 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006418/0.4169, allocations: 138.8 kB / 0.6018 GB, free: 14.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.42, allocations: 1.275 MB / 0.6031 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.4202, allocations: 179.1 kB / 0.6032 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.4203, allocations: 87.97 kB / 0.6033 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.4225, allocations: 1.404 MB / 0.6047 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.4226, allocations: 4 kB / 0.6047 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-05/0.4227, allocations: 35.98 kB / 0.6047 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.4228, allocations: 73.95 kB / 0.6048 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.4253, allocations: 1.526 MB / 0.6063 GB, free: 9.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006118/0.4314, allocations: 4.432 MB / 0.6106 GB, free: 4.922 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.4336, allocations: 1.326 MB / 0.6119 GB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.695e-05/0.4337, allocations: 16.64 kB / 0.6119 GB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.4337, allocations: 51.2 kB / 0.612 GB, free: 3.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 2.615e-06/0.4337, allocations: 4 kB / 0.612 GB, free: 3.477 MB / 442.7 MB Notification: Performance of matching and sorting (n=104): time 0.006263/0.44, allocations: 4.257 MB / 0.6161 GB, free: 15.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.44, allocations: 85.77 kB / 0.6162 GB, free: 14.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.4404, allocations: 353.1 kB / 0.6166 GB, free: 14.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.4405, allocations: 33.7 kB / 0.6166 GB, free: 14.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.4407, allocations: 352.3 kB / 0.6169 GB, free: 14.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.4409, allocations: 354.8 kB / 0.6173 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.441, allocations: 16 kB / 0.6173 GB, free: 13.85 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4411, allocations: 382.8 kB / 0.6176 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009642/0.4421, allocations: 0.6071 MB / 0.6182 GB, free: 12.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.4432, allocations: 0.7581 MB / 0.619 GB, free: 12.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.4442, allocations: 0.6939 MB / 0.6197 GB, free: 11.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4442, allocations: 0 / 0.6197 GB, free: 11.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002447/0.4467, allocations: 1.627 MB / 0.6212 GB, free: 9.707 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4467, allocations: 8 kB / 0.6213 GB, free: 9.699 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4467, allocations: 4 kB / 0.6213 GB, free: 9.695 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.95e-05/0.4468, allocations: 32.78 kB / 0.6213 GB, free: 9.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/0.4492, allocations: 0.6205 MB / 0.6219 GB, free: 9.039 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005886/0.4551, allocations: 6.392 MB / 0.6281 GB, free: 2.121 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.4557, allocations: 92.08 kB / 0.6282 GB, free: 2.031 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.4558, allocations: 39.98 kB / 0.6283 GB, free: 1.992 MB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 96 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000453/0.4563, allocations: 317.6 kB / 0.6286 GB, free: 1.676 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.4564, allocations: 67.2 kB / 0.6286 GB, free: 1.609 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.4589, allocations: 1.612 MB / 0.6302 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/0.459, allocations: 23.98 kB / 0.6302 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.459, allocations: 4 kB / 0.6302 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.459, allocations: 7.922 kB / 0.6302 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00442/0.4634, allocations: 2.92 MB / 0.6331 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4634, allocations: 8.031 kB / 0.6331 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/0.4661, allocations: 0.6789 MB / 0.6338 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.289e-05/0.4662, allocations: 24.84 kB / 0.6338 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/0.4663, allocations: 27.94 kB / 0.6338 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009973/0.4673, allocations: 1.385 MB / 0.6352 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4673, allocations: 7.875 kB / 0.6352 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003904/0.4712, allocations: 2.684 MB / 0.6378 GB, free: 7.844 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.4714, allocations: 136.2 kB / 0.6379 GB, free: 7.691 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.4715, allocations: 20 kB / 0.6379 GB, free: 7.672 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/0.4721, allocations: 87.89 kB / 0.638 GB, free: 7.586 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.4723, allocations: 80.5 kB / 0.6381 GB, free: 7.508 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.4723, allocations: 23.98 kB / 0.6381 GB, free: 7.484 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000273/0.4726, allocations: 275.1 kB / 0.6384 GB, free: 7.219 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4726, allocations: 0 / 0.6384 GB, free: 7.219 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007949/0.4734, allocations: 259.9 kB / 0.6386 GB, free: 6.965 MB / 474.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004292/0.4777, allocations: 3.857 MB / 0.6424 GB, free: 3.004 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00372/0.4815, allocations: 1.935 MB / 0.6443 GB, free: 1.055 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4815, allocations: 0 / 0.6443 GB, free: 1.055 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1618/0.6433, allocations: 1.339 MB / 0.6456 GB, free: 138.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.6442, allocations: 140.8 kB / 0.6457 GB, free: 138.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.6544, allocations: 9.087 MB / 0.6546 GB, free: 134.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/0.6551, allocations: 1.091 MB / 0.6557 GB, free: 133.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008088/0.6559, allocations: 261.9 kB / 0.6559 GB, free: 133.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.6563, allocations: 290.2 kB / 0.6562 GB, free: 133.8 MB / 474.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6563, allocations: 1.344 kB / 0.6562 GB, free: 133.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.6879, allocations: 16.82 MB / 0.6726 GB, free: 132.8 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.6881, allocations: 219 kB / 0.6728 GB, free: 132.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.897, allocations: 0 / 0.6728 GB, free: 132.5 MB / 474.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