Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",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 4.0.0+maint.om/package.mo): time 0.0009001/0.0009001, allocations: 183.7 kB / 8.138 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.089/1.089, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0009167/0.0009167, allocations: 92.58 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08516/0.08611, allocations: 55.84 MB / 336.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.2542, allocations: 50.39 MB / 387 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08326/0.3375, allocations: 90.96 MB / 478 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.3377, allocations: 87.3 kB / 478.1 MB, free: 11.8 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.1961/0.5338, allocations: 31.67 MB / 0.4978 GB, free: 90.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.5338, allocations: 10.22 kB / 0.4978 GB, free: 90.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003151/0.5342, allocations: 170.5 kB / 0.498 GB, free: 89.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003117/0.5373, allocations: 1.663 MB / 0.4996 GB, free: 89.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.5374, allocations: 48.53 kB / 0.4996 GB, free: 89.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.5375, allocations: 78.78 kB / 0.4997 GB, free: 89.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001784/0.5393, allocations: 1.372 MB / 0.5011 GB, free: 89.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.5413, allocations: 1.59 MB / 0.5026 GB, free: 89.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.5413, allocations: 3.938 kB / 0.5026 GB, free: 89.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.5414, allocations: 6.844 kB / 0.5026 GB, free: 89.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.5415, allocations: 61.06 kB / 0.5027 GB, free: 89.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005966/0.5475, allocations: 4.926 MB / 0.5075 GB, free: 88.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.5486, allocations: 0.9874 MB / 0.5084 GB, free: 88.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006648/0.5492, allocations: 0.5802 MB / 0.509 GB, free: 87.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.5493, allocations: 10.22 kB / 0.509 GB, free: 87.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006022/0.5499, allocations: 0.5786 MB / 0.5096 GB, free: 87.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.425e-06/0.5499, allocations: 0 / 0.5096 GB, free: 87.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001173/0.5511, allocations: 0.9698 MB / 0.5105 GB, free: 87.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.5511, allocations: 177.8 kB / 0.5107 GB, free: 87.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.5518, allocations: 0.7146 MB / 0.5114 GB, free: 86.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.5519, allocations: 47.5 kB / 0.5114 GB, free: 86.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.5521, allocations: 0.4951 MB / 0.5119 GB, free: 86.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.5523, allocations: 247 kB / 0.5122 GB, free: 86.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.5523, allocations: 3.281 kB / 0.5122 GB, free: 86.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.5524, allocations: 409 kB / 0.5126 GB, free: 85.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.5529, allocations: 437.3 kB / 0.513 GB, free: 85.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.5534, allocations: 0.6619 MB / 0.5136 GB, free: 85.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.5539, allocations: 466.4 kB / 0.5141 GB, free: 85.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5539, allocations: 3.875 kB / 0.5141 GB, free: 85.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001378/0.5553, allocations: 1.217 MB / 0.5153 GB, free: 84.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003201/0.5557, allocations: 2.53 MB / 0.5177 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.5557, allocations: 7.812 kB / 0.5177 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/0.5561, allocations: 227.1 kB / 0.518 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.5567, allocations: 159.3 kB / 0.5181 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.5587, allocations: 2.534 MB / 0.5206 GB, free: 80.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006954/0.5594, allocations: 144.6 kB / 0.5207 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.5595, allocations: 34.16 kB / 0.5208 GB, free: 80.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.81e-06/0.5595, allocations: 7.781 kB / 0.5208 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001344/0.5609, allocations: 1.085 MB / 0.5218 GB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.5609, allocations: 10.62 kB / 0.5218 GB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004715/0.5614, allocations: 218.9 kB / 0.522 GB, free: 79.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.562, allocations: 151.6 kB / 0.5222 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.5642, allocations: 2.555 MB / 0.5247 GB, free: 77.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.5649, allocations: 119.8 kB / 0.5248 GB, free: 77.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.565, allocations: 37.31 kB / 0.5248 GB, free: 77.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.5652, allocations: 173.4 kB / 0.525 GB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.5653, allocations: 91.72 kB / 0.5251 GB, free: 77.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.5655, allocations: 103 kB / 0.5252 GB, free: 77.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5655, allocations: 9 kB / 0.5252 GB, free: 77.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5655, allocations: 1.375 kB / 0.5252 GB, free: 77.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.5655, allocations: 3.797 kB / 0.5252 GB, free: 77.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.5686, allocations: 2.457 MB / 0.5276 GB, free: 75.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5686, allocations: 0 / 0.5276 GB, free: 75.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.569, allocations: 92.17 kB / 0.5277 GB, free: 75.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003507/0.5694, allocations: 204.8 kB / 0.5279 GB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.5694, allocations: 15.44 kB / 0.5279 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.5713, allocations: 2.451 MB / 0.5303 GB, free: 73.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5714, allocations: 6.812 kB / 0.5303 GB, free: 73.2 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001689/0.5731, allocations: 1.736 MB / 0.532 GB, free: 71.63 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002254/0.5753, allocations: 2.732 MB / 0.5347 GB, free: 69.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.5757, allocations: 273.2 kB / 0.5349 GB, free: 68.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.5758, allocations: 11.52 kB / 0.5349 GB, free: 68.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.5764, allocations: 80.78 kB / 0.535 GB, free: 68.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.5766, allocations: 91.61 kB / 0.5351 GB, free: 68.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.5766, allocations: 27.23 kB / 0.5351 GB, free: 68.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005022/0.5771, allocations: 0.5323 MB / 0.5356 GB, free: 68.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002389/0.5795, allocations: 0.5485 MB / 0.5362 GB, free: 67.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/0.5797, allocations: 158.1 kB / 0.5363 GB, free: 67.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.5817, allocations: 1.879 MB / 0.5382 GB, free: 65.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5817, allocations: 0 / 0.5382 GB, free: 65.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007108/0.5824, allocations: 0.69 MB / 0.5388 GB, free: 65.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.5832, allocations: 165.8 kB / 0.539 GB, free: 65.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.5865, allocations: 2.084 MB / 0.541 GB, free: 63.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009357/0.5874, allocations: 1.496 MB / 0.5425 GB, free: 61.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5874, allocations: 0 / 0.5425 GB, free: 61.93 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL_res.mat does not exist to compare? outputFormat=mat