Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV",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.001007/0.001007, allocations: 187.4 kB / 8.48 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.063/1.063, allocations: 205.2 MB / 214.1 MB, free: 5.156 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008154/0.0008153, allocations: 82.53 kB / 262.1 MB, free: 5.195 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1466/0.1474, allocations: 52.99 MB / 315.1 MB, free: 41.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06048/0.2079, allocations: 47.58 MB / 362.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/0.4117, allocations: 90.06 MB / 452.7 MB, free: 8.996 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.4119, allocations: 85.44 kB / 452.8 MB, free: 8.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.06984/0.4818, allocations: 29.93 MB / 482.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.4818, allocations: 8 kB / 482.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/0.4823, allocations: 162 kB / 482.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003759/0.4861, allocations: 1.623 MB / 484.5 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.4861, allocations: 47.38 kB / 484.6 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.4864, allocations: 79.98 kB / 484.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002064/0.4885, allocations: 1.308 MB / 485.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.4908, allocations: 1.535 MB / 487.5 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.4908, allocations: 7.906 kB / 487.5 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.4909, allocations: 7.25 kB / 487.5 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/0.491, allocations: 54.56 kB / 487.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006897/0.4979, allocations: 4.768 MB / 492.3 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.499, allocations: 0.8561 MB / 493.2 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008186/0.4998, allocations: 0.5586 MB / 493.7 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.4999, allocations: 9.406 kB / 493.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007208/0.5006, allocations: 0.5409 MB / 494.3 MB, free: 40 kB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.5006, allocations: 0 / 494.3 MB, free: 40 kB / 330.7 MB Notification: Performance of matching and sorting (n=82): time 0.00151/0.5022, allocations: 0.936 MB / 495.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.5022, allocations: 149.2 kB / 495.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009169/0.5032, allocations: 0.6986 MB / 496.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/0.5033, allocations: 41.69 kB / 496.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.5036, allocations: 493.7 kB / 496.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.5038, allocations: 228 kB / 496.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.5038, allocations: 0 / 496.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.504, allocations: 406.6 kB / 497.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.5046, allocations: 409.8 kB / 497.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.5053, allocations: 0.628 MB / 498.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.5059, allocations: 436.3 kB / 498.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5059, allocations: 0 / 498.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00163/0.5075, allocations: 1.143 MB / 499.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007603/0.5083, allocations: 2.531 MB / 0.4906 GB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.5083, allocations: 4 kB / 0.4906 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005113/0.5088, allocations: 228.7 kB / 0.4908 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.5094, allocations: 147.7 kB / 0.4909 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.512, allocations: 2.558 MB / 0.4934 GB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/0.5128, allocations: 135.2 kB / 0.4936 GB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.5129, allocations: 40 kB / 0.4936 GB, free: 4.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.503e-06/0.5129, allocations: 4 kB / 0.4936 GB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00146/0.5143, allocations: 1.033 MB / 0.4946 GB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5144, allocations: 4 kB / 0.4946 GB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004285/0.5148, allocations: 220.7 kB / 0.4948 GB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.5153, allocations: 148.1 kB / 0.495 GB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.5178, allocations: 2.534 MB / 0.4974 GB, free: 352 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006922/0.5185, allocations: 123.3 kB / 0.4976 GB, free: 228 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-05/0.5186, allocations: 36 kB / 0.4976 GB, free: 192 kB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (107): * Single equations (assignments): 106 * 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.0002842/0.5189, allocations: 168.9 kB / 0.4977 GB, free: 24 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.5191, allocations: 90.92 kB / 0.4978 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.5194, allocations: 92.59 kB / 0.4979 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5194, allocations: 12 kB / 0.4979 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5194, allocations: 0 / 0.4979 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5194, allocations: 4.172 kB / 0.4979 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.5229, allocations: 2.325 MB / 0.5002 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.523, allocations: 3.938 kB / 0.5002 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.5233, allocations: 79.89 kB / 0.5003 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/0.5238, allocations: 200.9 kB / 0.5005 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.5238, allocations: 11.98 kB / 0.5005 GB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.5263, allocations: 2.455 MB / 0.5029 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.5264, allocations: 8 kB / 0.5029 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002047/0.5284, allocations: 1.602 MB / 0.5045 GB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002723/0.5312, allocations: 2.554 MB / 0.507 GB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.5316, allocations: 259.9 kB / 0.5072 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.5318, allocations: 12 kB / 0.5072 GB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/0.5323, allocations: 83.83 kB / 0.5073 GB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.5325, allocations: 88.52 kB / 0.5074 GB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.5326, allocations: 27.98 kB / 0.5074 GB, free: 5.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0006543/0.5333, allocations: 0.5069 MB / 0.5079 GB, free: 5.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002726/0.536, allocations: 0.5367 MB / 0.5084 GB, free: 4.812 MB / 362.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 60 * 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.0002187/0.5362, allocations: 148.8 kB / 0.5086 GB, free: 4.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.5387, allocations: 1.777 MB / 0.5103 GB, free: 2.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5387, allocations: 4.062 kB / 0.5103 GB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008691/0.5396, allocations: 0.6598 MB / 0.5109 GB, free: 2.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009102/0.5405, allocations: 163.8 kB / 0.5111 GB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.5444, allocations: 1.988 MB / 0.513 GB, free: 8 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.5456, allocations: 1.467 MB / 0.5145 GB, free: 14.51 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5456, allocations: 0 / 0.5145 GB, free: 14.51 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat does not exist to compare? outputFormat=mat