Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.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_RL,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001011/0.001011, allocations: 202.3 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.145/1.145, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009175/0.0009175, allocations: 93.78 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09701/0.09796, allocations: 56.92 MB / 343.3 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.1841, allocations: 51.47 MB / 394.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2201/0.4042, allocations: 91.79 MB / 486.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.4045, allocations: 82.77 kB / 486.6 MB, free: 1.348 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.07862/0.4831, allocations: 31.74 MB / 0.5062 GB, free: 6.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.4832, allocations: 8 kB / 0.5062 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.484, allocations: 209.9 kB / 0.5064 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004024/0.488, allocations: 1.667 MB / 0.508 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.4881, allocations: 51.98 kB / 0.5081 GB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.4884, allocations: 80 kB / 0.5082 GB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00243/0.4908, allocations: 1.376 MB / 0.5095 GB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.4935, allocations: 1.592 MB / 0.511 GB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.4935, allocations: 0 / 0.511 GB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.4936, allocations: 7.844 kB / 0.5111 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/0.4937, allocations: 58.62 kB / 0.5111 GB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007696/0.5014, allocations: 4.939 MB / 0.5159 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.5028, allocations: 0.9755 MB / 0.5169 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/0.5036, allocations: 0.5884 MB / 0.5175 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.5037, allocations: 8.656 kB / 0.5175 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007557/0.5044, allocations: 0.5784 MB / 0.518 GB, free: 10.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 2.585e-06/0.5044, allocations: 0 / 0.518 GB, free: 10.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=87): time 0.001426/0.5059, allocations: 0.9747 MB / 0.519 GB, free: 9.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.506, allocations: 171 kB / 0.5192 GB, free: 9.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.507, allocations: 0.73 MB / 0.5199 GB, free: 8.703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.895e-05/0.5071, allocations: 49.7 kB / 0.5199 GB, free: 8.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.5075, allocations: 0.4912 MB / 0.5204 GB, free: 8.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.5077, allocations: 244.5 kB / 0.5206 GB, free: 7.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.5078, allocations: 0 / 0.5206 GB, free: 7.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5079, allocations: 345.9 kB / 0.521 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/0.5085, allocations: 433.8 kB / 0.5214 GB, free: 7.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007711/0.5093, allocations: 0.6679 MB / 0.522 GB, free: 6.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/0.51, allocations: 468.2 kB / 0.5225 GB, free: 5.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.51, allocations: 7.828 kB / 0.5225 GB, free: 5.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001849/0.5118, allocations: 1.212 MB / 0.5237 GB, free: 4.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008721/0.5127, allocations: 2.528 MB / 0.5261 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5127, allocations: 4 kB / 0.5261 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/0.5133, allocations: 220.7 kB / 0.5263 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.5139, allocations: 167.7 kB / 0.5265 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.5167, allocations: 2.545 MB / 0.529 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.5175, allocations: 139.3 kB / 0.5291 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/0.5176, allocations: 41.72 kB / 0.5292 GB, free: 14.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.086e-06/0.5176, allocations: 11.94 kB / 0.5292 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00158/0.5192, allocations: 1.083 MB / 0.5302 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.5192, allocations: 8 kB / 0.5302 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004439/0.5196, allocations: 220.2 kB / 0.5304 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.5202, allocations: 156 kB / 0.5306 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.5228, allocations: 2.544 MB / 0.5331 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/0.5235, allocations: 119.3 kB / 0.5332 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.082e-05/0.5236, allocations: 40 kB / 0.5332 GB, free: 10.45 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 (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.0002215/0.5239, allocations: 174.9 kB / 0.5334 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.524, allocations: 90.88 kB / 0.5335 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.5243, allocations: 105.2 kB / 0.5336 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.5243, allocations: 8 kB / 0.5336 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5243, allocations: 0 / 0.5336 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5243, allocations: 7.984 kB / 0.5336 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/0.5281, allocations: 2.457 MB / 0.536 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.5281, allocations: 3.984 kB / 0.536 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.5285, allocations: 95.83 kB / 0.5361 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004055/0.5289, allocations: 196.7 kB / 0.5363 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/0.529, allocations: 12.05 kB / 0.5363 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.5315, allocations: 2.454 MB / 0.5387 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5316, allocations: 0 / 0.5387 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002217/0.5338, allocations: 1.738 MB / 0.5404 GB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003091/0.5369, allocations: 2.732 MB / 0.5431 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.5374, allocations: 267.8 kB / 0.5433 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.5376, allocations: 19.92 kB / 0.5433 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/0.5382, allocations: 83.83 kB / 0.5434 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.5384, allocations: 88.66 kB / 0.5435 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/0.5385, allocations: 31.98 kB / 0.5435 GB, free: 15.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0007674/0.5393, allocations: 0.5344 MB / 0.544 GB, free: 15.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00274/0.542, allocations: 0.5564 MB / 0.5446 GB, free: 14.52 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 (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.0002374/0.5423, allocations: 156.5 kB / 0.5447 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002692/0.545, allocations: 1.887 MB / 0.5466 GB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.545, allocations: 0 / 0.5466 GB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009247/0.5459, allocations: 0.6877 MB / 0.5473 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/0.5468, allocations: 172.8 kB / 0.5474 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.5508, allocations: 2.084 MB / 0.5495 GB, free: 9.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.5521, allocations: 1.51 MB / 0.5509 GB, free: 7.934 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5522, allocations: 4 kB / 0.5509 GB, free: 7.93 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL_res.mat does not exist to compare? outputFormat=mat