Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.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.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_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.0009784/0.0009783, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.284/1.284, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008782/0.0008781, allocations: 101.1 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1599/0.1599, allocations: 38.06 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 12 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2433, allocations: 56.32 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.3788, allocations: 110 MB / 0.5766 GB, free: 8.332 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.3791, allocations: 91.95 kB / 0.5767 GB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05994/0.439, allocations: 23.32 MB / 0.5995 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4391, allocations: 0 / 0.5995 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.534e-05/0.4391, allocations: 20 kB / 0.5995 GB, free: 0.6641 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002549/0.4417, allocations: 1.256 MB / 0.6007 GB, free: 15.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4417, allocations: 8.031 kB / 0.6007 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/0.4419, allocations: 151.4 kB / 0.6009 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008149/0.4427, allocations: 150.8 kB / 0.601 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/0.446, allocations: 1.27 MB / 0.6023 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.4462, allocations: 171.1 kB / 0.6024 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.4464, allocations: 83.92 kB / 0.6025 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.4483, allocations: 1.369 MB / 0.6038 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.4484, allocations: 4 kB / 0.6038 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.4484, allocations: 32 kB / 0.6039 GB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.577e-05/0.4485, allocations: 57.97 kB / 0.6039 GB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.4506, allocations: 1.304 MB / 0.6052 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006163/0.4568, allocations: 4.947 MB / 0.61 GB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.4588, allocations: 1.204 MB / 0.6112 GB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.887e-05/0.4588, allocations: 12.61 kB / 0.6112 GB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.4589, allocations: 43.11 kB / 0.6113 GB, free: 4.215 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 2.956e-06/0.4589, allocations: 0 / 0.6113 GB, free: 4.215 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.005303/0.4642, allocations: 3.456 MB / 0.6146 GB, free: 0.625 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.4643, allocations: 85.67 kB / 0.6147 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/0.4647, allocations: 401.1 kB / 0.6151 GB, free: 128 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.4648, allocations: 41.69 kB / 0.6151 GB, free: 80 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.465, allocations: 387.3 kB / 0.6155 GB, free: 15.69 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.4652, allocations: 264.2 kB / 0.6158 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.4653, allocations: 20.03 kB / 0.6158 GB, free: 15.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4655, allocations: 374.8 kB / 0.6161 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008486/0.4663, allocations: 0.5134 MB / 0.6166 GB, free: 14.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009491/0.4673, allocations: 0.7144 MB / 0.6173 GB, free: 13.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009189/0.4682, allocations: 0.5887 MB / 0.6179 GB, free: 13.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4682, allocations: 7.953 kB / 0.6179 GB, free: 13.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004045/0.4723, allocations: 2.117 MB / 0.62 GB, free: 10.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4723, allocations: 8 kB / 0.62 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003725/0.476, allocations: 1.857 MB / 0.6218 GB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.4777, allocations: 0.6885 MB / 0.6225 GB, free: 8.402 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.4783, allocations: 155.7 kB / 0.6226 GB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.4886, allocations: 7.243 MB / 0.6297 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.4894, allocations: 87.81 kB / 0.6298 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.4895, allocations: 35.98 kB / 0.6298 GB, free: 0.6172 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005331/0.49, allocations: 305.7 kB / 0.6301 GB, free: 316 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4902, allocations: 59.25 kB / 0.6302 GB, free: 256 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.4924, allocations: 1.329 MB / 0.6315 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/0.4924, allocations: 20 kB / 0.6315 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4924, allocations: 3.953 kB / 0.6315 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.4924, allocations: 3.984 kB / 0.6315 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/0.4963, allocations: 2.456 MB / 0.6339 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4963, allocations: 0 / 0.6339 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/0.4989, allocations: 0.6477 MB / 0.6345 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-05/0.499, allocations: 24.84 kB / 0.6346 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/0.499, allocations: 19.94 kB / 0.6346 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009171/0.5, allocations: 1.389 MB / 0.6359 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5, allocations: 3.953 kB / 0.6359 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/0.5031, allocations: 2.128 MB / 0.638 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.5033, allocations: 132.3 kB / 0.6381 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.774e-05/0.5034, allocations: 16 kB / 0.6382 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/0.5039, allocations: 75.91 kB / 0.6382 GB, free: 7.648 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.504, allocations: 68.36 kB / 0.6383 GB, free: 7.582 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.5041, allocations: 20 kB / 0.6383 GB, free: 7.562 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003361/0.5044, allocations: 314.9 kB / 0.6386 GB, free: 7.258 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5044, allocations: 0 / 0.6386 GB, free: 7.258 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008885/0.5053, allocations: 260 kB / 0.6389 GB, free: 7.004 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (66): * Single equations (assignments): 62 * Array equations: 2 * 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.003564/0.5089, allocations: 2.995 MB / 0.6418 GB, free: 3.934 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002674/0.5116, allocations: 1.603 MB / 0.6433 GB, free: 2.301 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5116, allocations: 4.062 kB / 0.6434 GB, free: 2.297 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00254/0.5142, allocations: 1.154 MB / 0.6445 GB, free: 1.133 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.5148, allocations: 142.2 kB / 0.6446 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1808/0.6957, allocations: 10.49 MB / 0.6549 GB, free: 133.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/0.6966, allocations: 1.096 MB / 0.6559 GB, free: 133.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007254/0.6973, allocations: 203 kB / 0.6561 GB, free: 133.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.6978, allocations: 285.3 kB / 0.6564 GB, free: 133.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6978, allocations: 0 / 0.6564 GB, free: 133.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.7352, allocations: 19.03 MB / 0.675 GB, free: 132.1 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.7354, allocations: 223 kB / 0.6752 GB, free: 131.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.955, allocations: 4 kB / 0.6752 GB, free: 131.9 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat does not exist to compare? outputFormat=mat