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_R.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_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_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 4.0.0+maint.om/package.mo): time 0.0009951/0.0009948, allocations: 182.8 kB / 8.135 MB, free: 2.199 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.071/1.071, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.0009583/0.0009584, allocations: 103.8 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08399/0.08498, allocations: 55.83 MB / 336.6 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.2536, allocations: 50.39 MB / 387 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08702/0.3407, allocations: 90.63 MB / 477.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.3409, allocations: 91.94 kB / 477.7 MB, free: 12.02 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.1971/0.538, allocations: 31.3 MB / 0.4971 GB, free: 94.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.5381, allocations: 7.5 kB / 0.4971 GB, free: 94.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/0.5384, allocations: 168.3 kB / 0.4973 GB, free: 94.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.5417, allocations: 1.656 MB / 0.4989 GB, free: 93.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.5418, allocations: 50.05 kB / 0.4989 GB, free: 93.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.542, allocations: 81.55 kB / 0.499 GB, free: 93.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001809/0.5438, allocations: 1.358 MB / 0.5004 GB, free: 93.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.5458, allocations: 1.579 MB / 0.5019 GB, free: 93.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.5458, allocations: 4.656 kB / 0.5019 GB, free: 93.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.5459, allocations: 3.375 kB / 0.5019 GB, free: 93.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/0.546, allocations: 60.36 kB / 0.502 GB, free: 93.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005992/0.552, allocations: 4.836 MB / 0.5067 GB, free: 92.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.5531, allocations: 0.9738 MB / 0.5076 GB, free: 91.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/0.5537, allocations: 0.5789 MB / 0.5082 GB, free: 91.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.5538, allocations: 10.38 kB / 0.5082 GB, free: 91.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.5544, allocations: 0.5777 MB / 0.5088 GB, free: 91.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=85): time 2.545e-06/0.5544, allocations: 0 / 0.5088 GB, free: 91.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.001158/0.5556, allocations: 0.9648 MB / 0.5097 GB, free: 91.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.5556, allocations: 179.9 kB / 0.5099 GB, free: 90.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007062/0.5563, allocations: 0.7136 MB / 0.5106 GB, free: 90.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.758e-05/0.5564, allocations: 44.42 kB / 0.5106 GB, free: 90.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.5566, allocations: 497.6 kB / 0.5111 GB, free: 90.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.5568, allocations: 232.7 kB / 0.5113 GB, free: 89.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.5568, allocations: 0 / 0.5113 GB, free: 89.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.5569, allocations: 407 kB / 0.5117 GB, free: 89.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.5574, allocations: 424 kB / 0.5121 GB, free: 89.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/0.558, allocations: 0.6636 MB / 0.5128 GB, free: 89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.5585, allocations: 463.4 kB / 0.5132 GB, free: 88.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5585, allocations: 3.812 kB / 0.5132 GB, free: 88.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001365/0.5599, allocations: 1.206 MB / 0.5144 GB, free: 88.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003285/0.5602, allocations: 2.522 MB / 0.5168 GB, free: 85.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5602, allocations: 11.08 kB / 0.5169 GB, free: 85.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/0.5607, allocations: 230.1 kB / 0.5171 GB, free: 85.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.5613, allocations: 158.6 kB / 0.5172 GB, free: 85.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.5638, allocations: 2.496 MB / 0.5197 GB, free: 83.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/0.5646, allocations: 140.3 kB / 0.5198 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.5647, allocations: 32.75 kB / 0.5198 GB, free: 83.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.5647, allocations: 3.688 kB / 0.5198 GB, free: 83.84 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001305/0.566, allocations: 1.076 MB / 0.5209 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.566, allocations: 7.344 kB / 0.5209 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000406/0.5664, allocations: 230.6 kB / 0.5211 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.5669, allocations: 150.4 kB / 0.5213 GB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.5689, allocations: 2.488 MB / 0.5237 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.5695, allocations: 117.9 kB / 0.5238 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.5696, allocations: 36 kB / 0.5238 GB, free: 80.81 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 (108): * Single equations (assignments): 107 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.5698, allocations: 168.1 kB / 0.524 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.57, allocations: 90.88 kB / 0.5241 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.5702, allocations: 107.3 kB / 0.5242 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5702, allocations: 8 kB / 0.5242 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5702, allocations: 0 / 0.5242 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.5702, allocations: 7.891 kB / 0.5242 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/0.5732, allocations: 2.426 MB / 0.5266 GB, free: 78.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5732, allocations: 0 / 0.5266 GB, free: 78.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.5736, allocations: 90.67 kB / 0.5267 GB, free: 78.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/0.5742, allocations: 200.5 kB / 0.5268 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.5743, allocations: 11.81 kB / 0.5269 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.5762, allocations: 2.405 MB / 0.5292 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5762, allocations: 0 / 0.5292 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001725/0.578, allocations: 1.705 MB / 0.5309 GB, free: 74.36 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002258/0.5802, allocations: 2.691 MB / 0.5335 GB, free: 71.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.5806, allocations: 274.8 kB / 0.5338 GB, free: 71.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5808, allocations: 15.56 kB / 0.5338 GB, free: 71.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.5814, allocations: 77.86 kB / 0.5338 GB, free: 71.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.5816, allocations: 91.03 kB / 0.5339 GB, free: 71.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.5816, allocations: 20 kB / 0.534 GB, free: 71.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005542/0.5822, allocations: 0.5254 MB / 0.5345 GB, free: 71.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002476/0.5847, allocations: 0.5506 MB / 0.535 GB, free: 70.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (72): * Single equations (assignments): 62 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001973/0.5849, allocations: 151.7 kB / 0.5351 GB, free: 70.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.587, allocations: 1.875 MB / 0.537 GB, free: 68.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.587, allocations: 4 kB / 0.537 GB, free: 68.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006833/0.5877, allocations: 0.6579 MB / 0.5376 GB, free: 68.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/0.5885, allocations: 165 kB / 0.5378 GB, free: 67.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.5919, allocations: 1.999 MB / 0.5397 GB, free: 66.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009442/0.5928, allocations: 1.497 MB / 0.5412 GB, free: 64.84 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5928, allocations: 0 / 0.5412 GB, free: 64.84 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.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_R_res.mat does not exist to compare? outputFormat=mat