Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.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.DCDC.ChopperStepUp.ChopperStepUp_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 183.8 kB / 8.475 MB, free: 0.5312 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.027/1.027, allocations: 205.2 MB / 214.1 MB, free: 8.582 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008364/0.0008366, allocations: 90.36 kB / 262.1 MB, free: 5.117 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.08582/0.08669, allocations: 53.01 MB / 315.1 MB, free: 1.895 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07356/0.1603, allocations: 47.57 MB / 362.7 MB, free: 2.207 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.3509, allocations: 82.37 MB / 445 MB, free: 5.219 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.3511, allocations: 87.25 kB / 445.1 MB, free: 5.168 MB / 322.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.01826/0.3694, allocations: 8.048 MB / 453.2 MB, free: 14.48 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.3694, allocations: 12 kB / 453.2 MB, free: 14.46 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.3695, allocations: 63.23 kB / 453.2 MB, free: 14.4 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.37, allocations: 373.1 kB / 453.6 MB, free: 14.05 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.37, allocations: 16 kB / 453.6 MB, free: 14.03 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.3701, allocations: 32 kB / 453.6 MB, free: 14 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004508/0.3706, allocations: 268.5 kB / 453.9 MB, free: 13.84 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.3711, allocations: 386.5 kB / 454.3 MB, free: 13.54 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3712, allocations: 0 / 454.3 MB, free: 13.54 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.3712, allocations: 3.562 kB / 454.3 MB, free: 13.54 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.3712, allocations: 12 kB / 454.3 MB, free: 13.53 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.3733, allocations: 1.611 MB / 455.9 MB, free: 12.14 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.3738, allocations: 263 kB / 456.2 MB, free: 11.95 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.3741, allocations: 198.2 kB / 456.4 MB, free: 11.81 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3742, allocations: 4 kB / 456.4 MB, free: 11.8 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.3745, allocations: 201.4 kB / 456.6 MB, free: 11.64 MB / 338.8 MB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.3745, allocations: 0 / 456.6 MB, free: 11.64 MB / 338.8 MB Notification: Performance of matching and sorting (n=39): time 0.0005594/0.375, allocations: 296.8 kB / 456.9 MB, free: 11.41 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3751, allocations: 114.9 kB / 457 MB, free: 11.27 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.3754, allocations: 268.1 kB / 457.2 MB, free: 11.06 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.3754, allocations: 27.33 kB / 457.3 MB, free: 11.03 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3756, allocations: 207.1 kB / 457.5 MB, free: 10.84 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.3757, allocations: 107 kB / 457.6 MB, free: 10.75 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.3757, allocations: 0 / 457.6 MB, free: 10.75 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3758, allocations: 353 kB / 457.9 MB, free: 10.41 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.376, allocations: 95.88 kB / 458 MB, free: 10.36 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.3762, allocations: 219.3 kB / 458.2 MB, free: 10.15 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.3764, allocations: 121.5 kB / 458.3 MB, free: 10.07 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3764, allocations: 0 / 458.3 MB, free: 10.07 MB / 338.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005746/0.377, allocations: 380.6 kB / 458.7 MB, free: 9.773 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004158/0.3774, allocations: 1.304 MB / 460 MB, free: 8.391 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3774, allocations: 4 kB / 460 MB, free: 8.387 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.3777, allocations: 67.89 kB / 460.1 MB, free: 8.336 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.378, allocations: 86.39 kB / 460.2 MB, free: 8.254 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.3793, allocations: 1.514 MB / 461.7 MB, free: 6.77 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.3797, allocations: 57.53 kB / 461.7 MB, free: 6.715 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.3797, allocations: 15.75 kB / 461.8 MB, free: 6.703 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.59e-06/0.3797, allocations: 4 kB / 461.8 MB, free: 6.699 MB / 338.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004879/0.3802, allocations: 307.3 kB / 462.1 MB, free: 6.48 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3802, allocations: 8.031 kB / 462.1 MB, free: 6.473 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.3804, allocations: 69.52 kB / 462.1 MB, free: 6.422 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.3807, allocations: 84.89 kB / 462.2 MB, free: 6.34 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.3819, allocations: 1.497 MB / 463.7 MB, free: 4.875 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.3822, allocations: 43.8 kB / 463.8 MB, free: 4.832 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.3823, allocations: 19.94 kB / 463.8 MB, free: 4.816 MB / 338.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.diode.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.3824, allocations: 131.3 kB / 463.9 MB, free: 4.68 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.3824, allocations: 36.12 kB / 463.9 MB, free: 4.645 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.636e-05/0.3825, allocations: 38.23 kB / 464 MB, free: 4.621 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3825, allocations: 7.906 kB / 464 MB, free: 4.613 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.3825, allocations: 0 / 464 MB, free: 4.613 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3826, allocations: 7.984 kB / 464 MB, free: 4.605 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.3836, allocations: 0.816 MB / 464.8 MB, free: 3.93 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3836, allocations: 0 / 464.8 MB, free: 3.93 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.3839, allocations: 51.91 kB / 464.9 MB, free: 3.879 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.3841, allocations: 60.14 kB / 464.9 MB, free: 3.836 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.3841, allocations: 4 kB / 464.9 MB, free: 3.832 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.3853, allocations: 1.505 MB / 466.4 MB, free: 2.359 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3853, allocations: 0 / 466.4 MB, free: 2.359 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006697/0.386, allocations: 0.538 MB / 467 MB, free: 1.801 MB / 338.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009572/0.387, allocations: 1.054 MB / 468 MB, free: 0.7148 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.3871, allocations: 146.8 kB / 468.2 MB, free: 0.5547 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.3872, allocations: 0 / 468.2 MB, free: 0.5547 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.3875, allocations: 35.97 kB / 468.2 MB, free: 0.5195 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/0.3876, allocations: 35.86 kB / 468.2 MB, free: 496 kB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.3876, allocations: 15.98 kB / 468.2 MB, free: 480 kB / 338.8 MB Notification: Performance of sort global known variables: time 0.0001824/0.3878, allocations: 195.1 kB / 468.4 MB, free: 288 kB / 338.8 MB Notification: Performance of remove unused functions: time 0.001826/0.3897, allocations: 211.2 kB / 468.6 MB, free: 76 kB / 338.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductorSource.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.diode.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001768/0.3899, allocations: 118.9 kB / 468.8 MB, free: 15.95 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.0009853/0.3908, allocations: 0.7139 MB / 469.5 MB, free: 15.21 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3909, allocations: 4.672 kB / 469.5 MB, free: 15.2 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.3912, allocations: 258.6 kB / 469.7 MB, free: 14.94 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3915, allocations: 51.78 kB / 469.8 MB, free: 14.89 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.3929, allocations: 0.6845 MB / 470.5 MB, free: 14.18 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.3934, allocations: 0.8822 MB / 471.3 MB, free: 13.27 MB / 354.8 MB Notification: Performance of SimCode: time 2.8e-07/0.3934, allocations: 0 / 471.3 MB, free: 13.27 MB / 354.8 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat does not exist to compare? outputFormat=mat