Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009976/0.0009977, allocations: 174.9 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 221.4 MB / 235.5 MB, free: 2.906 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008638/0.0008638, allocations: 93.84 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.286e-05, allocations: 0 / 343.9 MB, free: 4.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/0.0961, allocations: 50.41 MB / 394.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.4091, allocations: 82.04 MB / 476.4 MB, free: 5.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.4094, allocations: 87.94 kB / 476.5 MB, free: 5.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01958/0.429, allocations: 7.305 MB / 483.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4291, allocations: 0 / 483.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.4291, allocations: 12 kB / 483.8 MB, free: 13.97 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00107/0.4302, allocations: 0.6587 MB / 484.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.4302, allocations: 12.03 kB / 484.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.4304, allocations: 74.53 kB / 484.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.605e-05/0.4305, allocations: 63.33 kB / 484.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.431, allocations: 359 kB / 485 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.431, allocations: 33 kB / 485 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.255e-05/0.4311, allocations: 43.98 kB / 485 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.4319, allocations: 445.2 kB / 485.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.4319, allocations: 3.953 kB / 485.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.4319, allocations: 16 kB / 485.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.432, allocations: 12 kB / 485.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.4325, allocations: 299 kB / 485.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/0.435, allocations: 1.874 MB / 487.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008219/0.4359, allocations: 0.593 MB / 488.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.4365, allocations: 276.8 kB / 488.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.4365, allocations: 4.328 kB / 488.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004634/0.437, allocations: 265.2 kB / 488.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.437, allocations: 4 kB / 488.8 MB, free: 8.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009103/0.4379, allocations: 441.7 kB / 489.2 MB, free: 8.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.438, allocations: 89.09 kB / 489.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.4383, allocations: 270.7 kB / 489.6 MB, free: 7.855 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.4384, allocations: 41.64 kB / 489.6 MB, free: 7.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.4385, allocations: 220.4 kB / 489.8 MB, free: 7.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.4387, allocations: 130.1 kB / 490 MB, free: 7.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.4387, allocations: 12 kB / 490 MB, free: 7.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4388, allocations: 342.8 kB / 490.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.439, allocations: 113.1 kB / 490.4 MB, free: 6.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.4393, allocations: 236.2 kB / 490.6 MB, free: 6.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.4396, allocations: 124 kB / 490.8 MB, free: 6.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4396, allocations: 7.891 kB / 490.8 MB, free: 6.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007965/0.4404, allocations: 493.5 kB / 491.3 MB, free: 6.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4404, allocations: 8 kB / 491.3 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4404, allocations: 4 kB / 491.3 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.4409, allocations: 153.1 kB / 491.4 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.4412, allocations: 59.91 kB / 491.5 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/0.444, allocations: 2.299 MB / 493.8 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.4443, allocations: 43.86 kB / 493.8 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.4444, allocations: 15.94 kB / 493.8 MB, free: 3.375 MB / 362.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: 13 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.4445, allocations: 141.6 kB / 494 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.4446, allocations: 47.48 kB / 494 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.4448, allocations: 44.08 kB / 494.1 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4448, allocations: 8 kB / 494.1 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4448, allocations: 0 / 494.1 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4448, allocations: 3.984 kB / 494.1 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.4463, allocations: 1.008 MB / 495.1 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4463, allocations: 4 kB / 495.1 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.4465, allocations: 39.91 kB / 495.1 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003848/0.4469, allocations: 146.1 kB / 495.3 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.4469, allocations: 8 kB / 495.3 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.4495, allocations: 2.293 MB / 497.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4495, allocations: 4 kB / 497.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009947/0.4505, allocations: 0.6946 MB / 498.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.4507, allocations: 148.6 kB / 498.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.4507, allocations: 12 kB / 498.4 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.451, allocations: 15.98 kB / 498.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.4511, allocations: 35.89 kB / 498.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.4511, allocations: 19.92 kB / 498.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002061/0.4513, allocations: 214.2 kB / 498.7 MB, free: 14.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4513, allocations: 0 / 498.7 MB, free: 14.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005685/0.4519, allocations: 151.7 kB / 498.8 MB, free: 14.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/0.4533, allocations: 1.329 MB / 0.4885 GB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008988/0.4542, allocations: 0.5025 MB / 0.4889 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4542, allocations: 4.312 kB / 0.4889 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.4547, allocations: 362.2 kB / 0.4893 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.4551, allocations: 77.12 kB / 0.4894 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.4566, allocations: 0.6901 MB / 0.49 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.457, allocations: 0.8399 MB / 0.4909 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.4572, allocations: 43.47 kB / 0.4909 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.4574, allocations: 139.4 kB / 0.491 GB, free: 10.01 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4574, allocations: 3.938 kB / 0.491 GB, free: 10 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.4824, allocations: 9.627 MB / 0.5004 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.4827, allocations: 232.7 kB / 0.5007 GB, free: 472 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/2.622, allocations: 0 / 0.5007 GB, free: 472 kB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat