Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.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,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.0009977/0.0009977, allocations: 198.6 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.124/1.124, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000858/0.0008583, allocations: 92.83 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09389/0.09477, allocations: 56.92 MB / 343.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.1791, allocations: 51.48 MB / 394.7 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.397, allocations: 92.08 MB / 486.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.3973, allocations: 86.75 kB / 486.9 MB, free: 1.285 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.0795/0.4768, allocations: 32.03 MB / 0.5068 GB, free: 6.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.4768, allocations: 8 kB / 0.5068 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006539/0.4775, allocations: 209.9 kB / 0.507 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003722/0.4812, allocations: 1.671 MB / 0.5086 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.4813, allocations: 48 kB / 0.5087 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.4815, allocations: 91.89 kB / 0.5087 GB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002271/0.4838, allocations: 1.384 MB / 0.5101 GB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.4864, allocations: 1.601 MB / 0.5117 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.4865, allocations: 0 / 0.5117 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.4866, allocations: 19.92 kB / 0.5117 GB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/0.4866, allocations: 58.67 kB / 0.5117 GB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007342/0.494, allocations: 4.962 MB / 0.5166 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.4954, allocations: 0.992 MB / 0.5175 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008164/0.4962, allocations: 0.6 MB / 0.5181 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.4962, allocations: 8.656 kB / 0.5181 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007537/0.497, allocations: 0.5746 MB / 0.5187 GB, free: 10.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=88): time 2.215e-06/0.497, allocations: 0 / 0.5187 GB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.001418/0.4984, allocations: 0.9824 MB / 0.5197 GB, free: 9.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.4985, allocations: 179 kB / 0.5198 GB, free: 8.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008975/0.4994, allocations: 0.7262 MB / 0.5205 GB, free: 8.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/0.4995, allocations: 41.69 kB / 0.5206 GB, free: 8.039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.4998, allocations: 0.499 MB / 0.5211 GB, free: 7.531 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.5, allocations: 256.5 kB / 0.5213 GB, free: 7.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.5001, allocations: 0 / 0.5213 GB, free: 7.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5002, allocations: 341.9 kB / 0.5216 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005935/0.5008, allocations: 441.8 kB / 0.5221 GB, free: 6.504 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/0.5015, allocations: 0.6562 MB / 0.5227 GB, free: 5.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.5022, allocations: 484.1 kB / 0.5232 GB, free: 5.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5022, allocations: 7.938 kB / 0.5232 GB, free: 5.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001709/0.5039, allocations: 1.225 MB / 0.5244 GB, free: 4.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007359/0.5046, allocations: 2.527 MB / 0.5268 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5047, allocations: 4 kB / 0.5268 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.5052, allocations: 224.7 kB / 0.5271 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.5058, allocations: 163.7 kB / 0.5272 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.5084, allocations: 2.547 MB / 0.5297 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/0.5091, allocations: 139.3 kB / 0.5298 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/0.5092, allocations: 36 kB / 0.5299 GB, free: 14.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/0.5092, allocations: 5.875 kB / 0.5299 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001549/0.5108, allocations: 1.091 MB / 0.5309 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5108, allocations: 12.12 kB / 0.5309 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/0.5112, allocations: 224.8 kB / 0.5312 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.5118, allocations: 155.7 kB / 0.5313 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.5145, allocations: 2.542 MB / 0.5338 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/0.5152, allocations: 115.4 kB / 0.5339 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/0.5153, allocations: 39.98 kB / 0.5339 GB, free: 9.785 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 (113): * Single equations (assignments): 112 * 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.0002237/0.5155, allocations: 174.7 kB / 0.5341 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.5156, allocations: 102.9 kB / 0.5342 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.5158, allocations: 101.4 kB / 0.5343 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.5159, allocations: 8 kB / 0.5343 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.5159, allocations: 0 / 0.5343 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.5159, allocations: 3.984 kB / 0.5343 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.5195, allocations: 2.472 MB / 0.5367 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5195, allocations: 4 kB / 0.5367 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.5199, allocations: 92.08 kB / 0.5368 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/0.5204, allocations: 204.8 kB / 0.537 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.5204, allocations: 7.922 kB / 0.537 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.5228, allocations: 2.469 MB / 0.5394 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5228, allocations: 0 / 0.5394 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002092/0.5249, allocations: 1.746 MB / 0.5411 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002887/0.5278, allocations: 2.739 MB / 0.5438 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/0.5282, allocations: 275.8 kB / 0.5441 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.5284, allocations: 15.89 kB / 0.5441 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/0.529, allocations: 83.86 kB / 0.5442 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/0.5292, allocations: 88.64 kB / 0.5443 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.5292, allocations: 24 kB / 0.5443 GB, free: 14.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006582/0.5299, allocations: 0.5381 MB / 0.5448 GB, free: 14.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002451/0.5324, allocations: 0.5679 MB / 0.5454 GB, free: 13.81 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 (76): * Single equations (assignments): 66 * 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.0002069/0.5326, allocations: 152.3 kB / 0.5455 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.5351, allocations: 1.89 MB / 0.5473 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5351, allocations: 0 / 0.5473 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008585/0.536, allocations: 0.7031 MB / 0.548 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007732/0.5367, allocations: 164.8 kB / 0.5482 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.5406, allocations: 2.101 MB / 0.5502 GB, free: 8.734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/0.5418, allocations: 1.515 MB / 0.5517 GB, free: 7.191 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5418, allocations: 4 kB / 0.5517 GB, free: 7.188 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat does not exist to compare? outputFormat=mat