Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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) 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(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001762/0.001762, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001158/0.001158, allocations: 91.34 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000545/0.0005451, allocations: 8 kB / 327.1 MB, free: 84 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3409, allocations: 47.56 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00451/0.3455, allocations: 2.97 MB / 377.6 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.3479, allocations: 0.9417 MB / 378.5 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004725/0.3485, allocations: 7.25 kB / 378.6 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.3487, allocations: 61.16 kB / 378.6 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006578/0.3494, allocations: 164 kB / 378.8 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.3499, allocations: 104.9 kB / 378.9 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009923/0.3509, allocations: 409.1 kB / 379.3 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.3514, allocations: 150.3 kB / 379.4 MB, free: 41.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004628/0.3518, allocations: 177.6 kB / 379.6 MB, free: 41.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.3522, allocations: 199 kB / 379.8 MB, free: 41.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.414e-05/0.3523, allocations: 28.5 kB / 379.8 MB, free: 41.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3525, allocations: 22.88 kB / 379.8 MB, free: 41.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.3526, allocations: 77.42 kB / 379.9 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.3527, allocations: 117.5 kB / 380 MB, free: 41.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005958/0.3533, allocations: 466.5 kB / 380.5 MB, free: 41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.3533, allocations: 0 / 380.5 MB, free: 41 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3534, allocations: 0 / 380.5 MB, free: 41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3534, allocations: 0 / 380.5 MB, free: 41 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00177/0.3552, allocations: 0.6995 MB / 381.2 MB, free: 40.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3552, allocations: 9.656 kB / 381.2 MB, free: 40.39 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.3554, allocations: 79.12 kB / 381.3 MB, free: 40.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.3556, allocations: 63.12 kB / 381.3 MB, free: 40.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.3562, allocations: 347.2 kB / 381.7 MB, free: 39.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.3563, allocations: 38.14 kB / 381.7 MB, free: 39.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.3564, allocations: 39.94 kB / 381.8 MB, free: 39.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.3575, allocations: 449.1 kB / 382.2 MB, free: 39.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.3576, allocations: 0.9062 kB / 382.2 MB, free: 39.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/0.3577, allocations: 16.5 kB / 382.2 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.3577, allocations: 9.906 kB / 382.2 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.3587, allocations: 324.3 kB / 382.5 MB, free: 39.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.3624, allocations: 1.839 MB / 384.4 MB, free: 37.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.3635, allocations: 0.6096 MB / 385 MB, free: 37.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.3636, allocations: 9.016 kB / 385 MB, free: 37.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006834/0.3643, allocations: 279.9 kB / 385.3 MB, free: 37.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 3.487e-06/0.3644, allocations: 1.562 kB / 385.3 MB, free: 37.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.004031/0.3684, allocations: 0.846 MB / 386.1 MB, free: 36.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.3685, allocations: 87.42 kB / 386.2 MB, free: 36.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.369, allocations: 311 kB / 386.5 MB, free: 36.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/0.3691, allocations: 40.58 kB / 386.5 MB, free: 36.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.3692, allocations: 262.9 kB / 386.8 MB, free: 36.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.3694, allocations: 142.6 kB / 386.9 MB, free: 36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.3694, allocations: 13.34 kB / 386.9 MB, free: 35.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.3695, allocations: 327.4 kB / 387.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.3699, allocations: 118.6 kB / 387.4 MB, free: 35.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/0.3704, allocations: 249.9 kB / 387.6 MB, free: 35.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.3708, allocations: 158 kB / 387.8 MB, free: 35.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.3709, allocations: 0 / 387.8 MB, free: 35.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001286/0.3722, allocations: 0.4902 MB / 388.3 MB, free: 34.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.3722, allocations: 8.922 kB / 388.3 MB, free: 34.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3722, allocations: 4 kB / 388.3 MB, free: 34.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007143/0.373, allocations: 144.8 kB / 388.4 MB, free: 34.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.3734, allocations: 63.91 kB / 388.5 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/0.3772, allocations: 2.335 MB / 390.8 MB, free: 32.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.3778, allocations: 47.62 kB / 390.9 MB, free: 32.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.3779, allocations: 16 kB / 390.9 MB, free: 31.99 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.000316/0.3782, allocations: 188.6 kB / 391.1 MB, free: 31.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/0.3783, allocations: 39.48 kB / 391.1 MB, free: 31.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.3784, allocations: 48.3 kB / 391.2 MB, free: 31.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3784, allocations: 4 kB / 391.2 MB, free: 31.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3785, allocations: 4 kB / 391.2 MB, free: 31.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3785, allocations: 3.984 kB / 391.2 MB, free: 31.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.3805, allocations: 1.003 MB / 392.2 MB, free: 30.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3806, allocations: 4 kB / 392.2 MB, free: 30.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.3809, allocations: 43.91 kB / 392.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006321/0.3816, allocations: 140.8 kB / 392.4 MB, free: 30.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.3816, allocations: 12 kB / 392.4 MB, free: 30.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/0.3854, allocations: 2.334 MB / 394.7 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3854, allocations: 4 kB / 394.7 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.3872, allocations: 0.7077 MB / 395.4 MB, free: 27.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.3875, allocations: 148.6 kB / 395.6 MB, free: 27.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.3876, allocations: 16 kB / 395.6 MB, free: 27.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.388, allocations: 15.98 kB / 395.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.3881, allocations: 27.95 kB / 395.6 MB, free: 27.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.3882, allocations: 19.98 kB / 395.6 MB, free: 27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002879/0.3885, allocations: 215.1 kB / 395.8 MB, free: 26.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3885, allocations: 3.938 kB / 395.8 MB, free: 26.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008432/0.3894, allocations: 143.7 kB / 396 MB, free: 26.64 MB / 298.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * 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.00196/0.3913, allocations: 1.265 MB / 397.3 MB, free: 25.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.3928, allocations: 0.5511 MB / 397.8 MB, free: 24.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.3928, allocations: 0 / 397.8 MB, free: 24.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008502/0.3937, allocations: 386.5 kB / 398.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006799/0.3944, allocations: 68.27 kB / 398.3 MB, free: 24.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.3979, allocations: 3.83 MB / 402.1 MB, free: 20.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3982, allocations: 0.8383 MB / 402.9 MB, free: 19.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.3986, allocations: 139.4 kB / 403.1 MB, free: 19.38 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3986, allocations: 0 / 403.1 MB, free: 19.38 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.251/3.649, allocations: 8.335 MB / 411.4 MB, free: 11.05 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat