Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",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.001089/0.001089, allocations: 175 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.39/1.39, allocations: 221.3 MB / 235.5 MB, free: 2.914 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.001033/0.001033, allocations: 91.81 kB / 286.5 MB, free: 188 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.026e-05, allocations: 4 kB / 343.9 MB, free: 4.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 50.41 MB / 394.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3799/0.5012, allocations: 85.55 MB / 479.9 MB, free: 1.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.5015, allocations: 91.94 kB / 480 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05405/0.5556, allocations: 20.82 MB / 0.4891 GB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5556, allocations: 4 kB / 0.4891 GB, free: 12.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.294e-05/0.5557, allocations: 27.94 kB / 0.4891 GB, free: 12.79 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002623/0.5584, allocations: 1.307 MB / 0.4904 GB, free: 11.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5584, allocations: 8.031 kB / 0.4904 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002291/0.5587, allocations: 152.2 kB / 0.4905 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.5589, allocations: 146.3 kB / 0.4907 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/0.5629, allocations: 1.671 MB / 0.4923 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/0.563, allocations: 70 kB / 0.4924 GB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.5632, allocations: 96 kB / 0.4925 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.5656, allocations: 1.396 MB / 0.4938 GB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.5656, allocations: 0 / 0.4938 GB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.5657, allocations: 40 kB / 0.4939 GB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.5658, allocations: 49.92 kB / 0.4939 GB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.5677, allocations: 1.175 MB / 0.4951 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006559/0.5743, allocations: 4.355 MB / 0.4993 GB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.5763, allocations: 1.941 MB / 0.5012 GB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.5775, allocations: 0.7206 MB / 0.5019 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-05/0.5776, allocations: 12.77 kB / 0.5019 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008756/0.5785, allocations: 0.5723 MB / 0.5025 GB, free: 14.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 3.647e-06/0.5785, allocations: 0 / 0.5025 GB, free: 14.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.002378/0.5809, allocations: 1.226 MB / 0.5037 GB, free: 13.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.581, allocations: 111.6 kB / 0.5038 GB, free: 13.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.5822, allocations: 0.7302 MB / 0.5045 GB, free: 12.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.5823, allocations: 41.69 kB / 0.5045 GB, free: 12.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004756/0.5828, allocations: 487.8 kB / 0.505 GB, free: 11.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.583, allocations: 236.6 kB / 0.5052 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.5831, allocations: 16 kB / 0.5053 GB, free: 11.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.5833, allocations: 398.7 kB / 0.5056 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.5838, allocations: 373.4 kB / 0.506 GB, free: 10.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.5845, allocations: 0.5127 MB / 0.5065 GB, free: 10.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.5851, allocations: 423 kB / 0.5069 GB, free: 9.949 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5851, allocations: 0 / 0.5069 GB, free: 9.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001862/0.587, allocations: 1.252 MB / 0.5081 GB, free: 8.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.587, allocations: 11.98 kB / 0.5081 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.587, allocations: 4 kB / 0.5081 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.5881, allocations: 468.4 kB / 0.5086 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.5885, allocations: 91.83 kB / 0.5087 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006795/0.5953, allocations: 5.087 MB / 0.5136 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/0.5961, allocations: 87.39 kB / 0.5137 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.5962, allocations: 28 kB / 0.5137 GB, free: 2.785 MB / 394.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: 15 ($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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.5964, allocations: 155.3 kB / 0.5139 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.5966, allocations: 90.89 kB / 0.514 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.5969, allocations: 108.6 kB / 0.5141 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.5969, allocations: 8 kB / 0.5141 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.597, allocations: 0 / 0.5141 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.597, allocations: 3.984 kB / 0.5141 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/0.601, allocations: 2.592 MB / 0.5166 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6011, allocations: 0 / 0.5166 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.6014, allocations: 63.91 kB / 0.5167 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009579/0.6023, allocations: 452.7 kB / 0.5171 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.6024, allocations: 19.92 kB / 0.5171 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006764/0.6092, allocations: 5.052 MB / 0.5221 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6093, allocations: 3.984 kB / 0.5221 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.6122, allocations: 1.865 MB / 0.5239 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007565/0.613, allocations: 275.9 kB / 0.5242 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.6131, allocations: 15.98 kB / 0.5242 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.6136, allocations: 43.95 kB / 0.5242 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.6138, allocations: 72.67 kB / 0.5243 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/0.6139, allocations: 23.98 kB / 0.5243 GB, free: 7.699 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008605/0.6147, allocations: 0.5772 MB / 0.5249 GB, free: 7.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6148, allocations: 0 / 0.5249 GB, free: 7.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001098/0.6159, allocations: 343.1 kB / 0.5252 GB, free: 6.789 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (40): * Single equations (assignments): 36 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.002925/0.6188, allocations: 2.437 MB / 0.5276 GB, free: 4.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.621, allocations: 1.22 MB / 0.5288 GB, free: 3.082 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.621, allocations: 0 / 0.5288 GB, free: 3.082 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.6222, allocations: 0.8008 MB / 0.5296 GB, free: 2.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.6234, allocations: 248.1 kB / 0.5298 GB, free: 2.031 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/0.6277, allocations: 2.136 MB / 0.5319 GB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.6288, allocations: 1.353 MB / 0.5332 GB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004909/0.6293, allocations: 143.2 kB / 0.5333 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/0.6299, allocations: 375.3 kB / 0.5337 GB, free: 13.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6299, allocations: 0 / 0.5337 GB, free: 13.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2782/0.9081, allocations: 26.42 MB / 0.5595 GB, free: 124.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.9083, allocations: 225.9 kB / 0.5597 GB, free: 123.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.306, allocations: 2.75 kB / 0.5597 GB, free: 123.9 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat