Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.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.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",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.00145/0.00145, allocations: 208.1 kB / 8.544 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.117/1.117, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000825/0.0008251, allocations: 89.23 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09083/0.09168, allocations: 56.92 MB / 343.2 MB, free: 8.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.1762, allocations: 51.48 MB / 394.7 MB, free: 5.074 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.215/0.3912, allocations: 92.29 MB / 487 MB, free: 0.918 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.3915, allocations: 86.33 kB / 487.1 MB, free: 0.8711 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.07943/0.4709, allocations: 32.22 MB / 0.5071 GB, free: 6.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.471, allocations: 12 kB / 0.5072 GB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008551/0.4718, allocations: 212.5 kB / 0.5074 GB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/0.4761, allocations: 1.666 MB / 0.509 GB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.298e-05/0.4762, allocations: 51.98 kB / 0.509 GB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/0.4765, allocations: 84 kB / 0.5091 GB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002568/0.4791, allocations: 1.384 MB / 0.5105 GB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/0.4818, allocations: 1.62 MB / 0.5121 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.4818, allocations: 7.844 kB / 0.5121 GB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.4819, allocations: 3.984 kB / 0.5121 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/0.482, allocations: 58.7 kB / 0.5121 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008015/0.49, allocations: 4.998 MB / 0.517 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.4917, allocations: 1.103 MB / 0.5181 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008358/0.4925, allocations: 0.5963 MB / 0.5187 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.4926, allocations: 16.64 kB / 0.5187 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007814/0.4934, allocations: 0.5901 MB / 0.5193 GB, free: 9.359 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 3.156e-06/0.4934, allocations: 4 kB / 0.5193 GB, free: 9.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.001504/0.4949, allocations: 1.002 MB / 0.5202 GB, free: 8.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.495, allocations: 179 kB / 0.5204 GB, free: 8.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.4958, allocations: 0.7144 MB / 0.5211 GB, free: 7.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.89e-05/0.4959, allocations: 45.69 kB / 0.5211 GB, free: 7.363 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.4963, allocations: 499.1 kB / 0.5216 GB, free: 6.867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.4965, allocations: 260.4 kB / 0.5219 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.4965, allocations: 0 / 0.5219 GB, free: 6.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4966, allocations: 353.9 kB / 0.5222 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/0.4972, allocations: 441.8 kB / 0.5226 GB, free: 5.824 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.4979, allocations: 0.6679 MB / 0.5233 GB, free: 5.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006199/0.4986, allocations: 468.2 kB / 0.5237 GB, free: 4.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4986, allocations: 8 kB / 0.5237 GB, free: 4.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001693/0.5003, allocations: 1.229 MB / 0.5249 GB, free: 3.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007066/0.501, allocations: 2.523 MB / 0.5274 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.501, allocations: 8 kB / 0.5274 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/0.5015, allocations: 224.8 kB / 0.5276 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.5022, allocations: 175.7 kB / 0.5278 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.5049, allocations: 2.543 MB / 0.5303 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.5056, allocations: 131.3 kB / 0.5304 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.5057, allocations: 40 kB / 0.5304 GB, free: 13.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.5057, allocations: 8 kB / 0.5304 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001504/0.5072, allocations: 1.103 MB / 0.5315 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5073, allocations: 12.09 kB / 0.5315 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/0.5077, allocations: 225.3 kB / 0.5317 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.5083, allocations: 163.7 kB / 0.5319 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.5108, allocations: 2.546 MB / 0.5344 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007101/0.5116, allocations: 119.4 kB / 0.5345 GB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.5116, allocations: 44 kB / 0.5345 GB, free: 9.066 MB / 410.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 (114): * Single equations (assignments): 113 * 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.0002309/0.5119, allocations: 178.4 kB / 0.5347 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.512, allocations: 94.88 kB / 0.5348 GB, free: 8.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.5123, allocations: 101.4 kB / 0.5349 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5123, allocations: 8 kB / 0.5349 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5123, allocations: 0 / 0.5349 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.5123, allocations: 7.969 kB / 0.5349 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.5159, allocations: 2.519 MB / 0.5374 GB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.516, allocations: 0 / 0.5374 GB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.5165, allocations: 111.9 kB / 0.5375 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004105/0.5169, allocations: 192.7 kB / 0.5377 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.517, allocations: 11.98 kB / 0.5377 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00249/0.5195, allocations: 2.462 MB / 0.5401 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5195, allocations: 0 / 0.5401 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002194/0.5217, allocations: 1.777 MB / 0.5418 GB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002988/0.5247, allocations: 2.806 MB / 0.5446 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/0.5251, allocations: 283.7 kB / 0.5448 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.5253, allocations: 11.98 kB / 0.5448 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/0.5259, allocations: 91.92 kB / 0.5449 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.5261, allocations: 88.64 kB / 0.545 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/0.5262, allocations: 27.98 kB / 0.545 GB, free: 14.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006474/0.5268, allocations: 0.5264 MB / 0.5456 GB, free: 13.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002637/0.5295, allocations: 0.5641 MB / 0.5461 GB, free: 12.95 MB / 426.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 (79): * Single equations (assignments): 69 * 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.0002257/0.5297, allocations: 156.4 kB / 0.5463 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002694/0.5324, allocations: 1.918 MB / 0.5481 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5324, allocations: 0 / 0.5481 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008932/0.5333, allocations: 0.7093 MB / 0.5488 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.5341, allocations: 162 kB / 0.549 GB, free: 9.977 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.5379, allocations: 2.161 MB / 0.5511 GB, free: 7.766 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/0.5391, allocations: 1.511 MB / 0.5526 GB, free: 6.223 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5391, allocations: 0 / 0.5526 GB, free: 6.223 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat