Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001005/0.001005, allocations: 202.7 kB / 8.542 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.135/1.135, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008853/0.0008852, allocations: 91.52 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0897/0.09061, allocations: 56.92 MB / 343.2 MB, free: 8.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07965/0.1703, allocations: 51.48 MB / 394.7 MB, free: 5.035 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.3774, allocations: 87.06 MB / 481.8 MB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.3778, allocations: 85.2 kB / 481.9 MB, free: 6.008 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.02543/0.4032, allocations: 10.73 MB / 492.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4032, allocations: 8 kB / 492.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.4034, allocations: 69.31 kB / 492.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006717/0.4041, allocations: 400.6 kB / 493.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.4042, allocations: 19.98 kB / 493.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.512e-05/0.4043, allocations: 28 kB / 493.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005505/0.4048, allocations: 275.3 kB / 493.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.4055, allocations: 408.5 kB / 493.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4055, allocations: 0 / 493.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.4055, allocations: 7.984 kB / 493.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.4056, allocations: 15.91 kB / 493.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.4079, allocations: 1.68 MB / 495.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006551/0.4086, allocations: 314.5 kB / 495.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.409, allocations: 209.4 kB / 496 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.409, allocations: 11.88 kB / 496 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.4093, allocations: 221 kB / 496.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.473e-06/0.4093, allocations: 0 / 496.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005627/0.4099, allocations: 320.6 kB / 496.5 MB, free: 9.734 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.41, allocations: 110.6 kB / 496.6 MB, free: 9.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.4102, allocations: 279.6 kB / 496.9 MB, free: 9.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.4103, allocations: 25.7 kB / 496.9 MB, free: 9.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.4104, allocations: 219.4 kB / 497.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.4105, allocations: 119.1 kB / 497.3 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.4105, allocations: 4 kB / 497.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4106, allocations: 362.1 kB / 497.6 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.4108, allocations: 103.1 kB / 497.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.4111, allocations: 220.3 kB / 498 MB, free: 8.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4113, allocations: 118.2 kB / 498.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4113, allocations: 0 / 498.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006194/0.4119, allocations: 397.2 kB / 498.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003907/0.4123, allocations: 1.309 MB / 499.8 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4123, allocations: 4 kB / 499.8 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/0.4126, allocations: 76.05 kB / 499.8 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.413, allocations: 100.1 kB / 499.9 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.4143, allocations: 1.51 MB / 0.4897 GB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.4147, allocations: 51.78 kB / 0.4897 GB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.4147, allocations: 19.62 kB / 0.4898 GB, free: 4.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.4147, allocations: 4 kB / 0.4898 GB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005261/0.4153, allocations: 324.2 kB / 0.4901 GB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4153, allocations: 4 kB / 0.4901 GB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/0.4155, allocations: 75.19 kB / 0.4902 GB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.4158, allocations: 91.52 kB / 0.4902 GB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.417, allocations: 1.505 MB / 0.4917 GB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.4174, allocations: 51.72 kB / 0.4918 GB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.4174, allocations: 23.44 kB / 0.4918 GB, free: 3.039 MB / 362.7 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_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$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 (50): * Single equations (assignments): 48 * 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.0001219/0.4175, allocations: 123.2 kB / 0.4919 GB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.4176, allocations: 39.53 kB / 0.4919 GB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.4182, allocations: 347.2 kB / 0.4923 GB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.4182, allocations: 8 kB / 0.4923 GB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.4182, allocations: 0 / 0.4923 GB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4182, allocations: 3.984 kB / 0.4923 GB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.4193, allocations: 0.8618 MB / 0.4931 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4194, allocations: 0 / 0.4931 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.4197, allocations: 74.86 kB / 0.4932 GB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.4199, allocations: 65.25 kB / 0.4933 GB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.42, allocations: 11.05 kB / 0.4933 GB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.4212, allocations: 1.499 MB / 0.4947 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4212, allocations: 1.688 kB / 0.4947 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008151/0.422, allocations: 0.5907 MB / 0.4953 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001052/0.4231, allocations: 1.117 MB / 0.4964 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.4232, allocations: 152.5 kB / 0.4965 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.4233, allocations: 15.56 kB / 0.4966 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.4236, allocations: 39.97 kB / 0.4966 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.4238, allocations: 37.09 kB / 0.4966 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.4238, allocations: 10.44 kB / 0.4966 GB, free: 14.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002178/0.424, allocations: 215 kB / 0.4968 GB, free: 14.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001801/0.4258, allocations: 209.2 kB / 0.497 GB, free: 14.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductor.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_last,meanVoltage.y_last) * 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 (36): * Single equations (assignments): 29 * 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.0001525/0.426, allocations: 122.7 kB / 0.4972 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.427, allocations: 0.7487 MB / 0.4979 GB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.427, allocations: 0 / 0.4979 GB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.4274, allocations: 281 kB / 0.4982 GB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.4278, allocations: 66.09 kB / 0.4982 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.4293, allocations: 0.7202 MB / 0.4989 GB, free: 12.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/0.4299, allocations: 0.8978 MB / 0.4998 GB, free: 11.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4299, allocations: 0 / 0.4998 GB, free: 11.66 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat does not exist to compare? outputFormat=mat