Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.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_R,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.00106/0.00106, allocations: 205 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.158/1.158, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000858/0.000858, allocations: 94.44 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09536/0.09625, allocations: 56.92 MB / 343.3 MB, free: 8.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08248/0.1787, allocations: 51.47 MB / 394.7 MB, free: 5.051 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2218/0.4006, allocations: 91.46 MB / 486.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.4009, allocations: 87.25 kB / 486.3 MB, free: 1.73 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.07865/0.4795, allocations: 31.38 MB / 0.5055 GB, free: 7.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4796, allocations: 8 kB / 0.5055 GB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007525/0.4804, allocations: 210 kB / 0.5057 GB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003937/0.4843, allocations: 1.653 MB / 0.5073 GB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.4844, allocations: 55.92 kB / 0.5074 GB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.4846, allocations: 76 kB / 0.5075 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002426/0.4871, allocations: 1.364 MB / 0.5088 GB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.4898, allocations: 1.574 MB / 0.5103 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.4899, allocations: 0 / 0.5103 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.49, allocations: 19.83 kB / 0.5103 GB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/0.4901, allocations: 62.56 kB / 0.5104 GB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007838/0.4979, allocations: 4.834 MB / 0.5151 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.4993, allocations: 0.972 MB / 0.5161 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000802/0.5001, allocations: 0.5694 MB / 0.5166 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.5002, allocations: 8.656 kB / 0.5166 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007572/0.5009, allocations: 0.5822 MB / 0.5172 GB, free: 11.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=85): time 2.745e-06/0.501, allocations: 0 / 0.5172 GB, free: 11.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.001471/0.5024, allocations: 0.9748 MB / 0.5182 GB, free: 10.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.5025, allocations: 171 kB / 0.5183 GB, free: 10.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009641/0.5035, allocations: 0.7223 MB / 0.519 GB, free: 9.512 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/0.5036, allocations: 45.62 kB / 0.5191 GB, free: 9.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/0.504, allocations: 0.4911 MB / 0.5196 GB, free: 8.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.5042, allocations: 236.6 kB / 0.5198 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.5042, allocations: 0 / 0.5198 GB, free: 8.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5044, allocations: 406.7 kB / 0.5202 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.505, allocations: 433.8 kB / 0.5206 GB, free: 7.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/0.5057, allocations: 0.6523 MB / 0.5212 GB, free: 7.141 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.5063, allocations: 464.2 kB / 0.5217 GB, free: 6.688 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5064, allocations: 4 kB / 0.5217 GB, free: 6.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001708/0.5081, allocations: 1.209 MB / 0.5228 GB, free: 5.461 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008626/0.5089, allocations: 2.515 MB / 0.5253 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.509, allocations: 12 kB / 0.5253 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.5095, allocations: 225.9 kB / 0.5255 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005799/0.5101, allocations: 159.7 kB / 0.5257 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.5129, allocations: 2.49 MB / 0.5281 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/0.5137, allocations: 139.2 kB / 0.5282 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.5138, allocations: 36 kB / 0.5283 GB, free: 15.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.5138, allocations: 4 kB / 0.5283 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001538/0.5153, allocations: 1.079 MB / 0.5293 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.5153, allocations: 8.844 kB / 0.5293 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/0.5158, allocations: 241 kB / 0.5296 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/0.5163, allocations: 139.8 kB / 0.5297 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.5189, allocations: 2.488 MB / 0.5321 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007403/0.5196, allocations: 115.5 kB / 0.5322 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/0.5197, allocations: 39.91 kB / 0.5323 GB, free: 11.37 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 (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.0002571/0.52, allocations: 176.8 kB / 0.5325 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.5202, allocations: 98.75 kB / 0.5325 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.5205, allocations: 100.9 kB / 0.5326 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.5205, allocations: 8 kB / 0.5327 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5205, allocations: 0 / 0.5327 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.5205, allocations: 3.984 kB / 0.5327 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/0.5245, allocations: 2.422 MB / 0.535 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5245, allocations: 0 / 0.535 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.5249, allocations: 83.92 kB / 0.5351 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/0.5254, allocations: 204.6 kB / 0.5353 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.5254, allocations: 7.984 kB / 0.5353 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/0.5279, allocations: 2.421 MB / 0.5377 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5279, allocations: 0 / 0.5377 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002127/0.53, allocations: 1.703 MB / 0.5393 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002895/0.5329, allocations: 2.693 MB / 0.542 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.5334, allocations: 275.8 kB / 0.5422 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.5335, allocations: 8 kB / 0.5422 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.5341, allocations: 79.92 kB / 0.5423 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/0.5343, allocations: 88.55 kB / 0.5424 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/0.5344, allocations: 27.98 kB / 0.5424 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006875/0.5351, allocations: 0.5303 MB / 0.5429 GB, free: 196 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.002503/0.5376, allocations: 0.5484 MB / 0.5435 GB, free: 15.64 MB / 426.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.0002437/0.5379, allocations: 167.7 kB / 0.5436 GB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.5404, allocations: 1.87 MB / 0.5455 GB, free: 13.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5404, allocations: 5.688 kB / 0.5455 GB, free: 13.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008564/0.5413, allocations: 0.6643 MB / 0.5461 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/0.5421, allocations: 161.4 kB / 0.5463 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.5459, allocations: 2.004 MB / 0.5482 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/0.5471, allocations: 1.495 MB / 0.5497 GB, free: 9.184 MB / 426.7 MB Notification: Performance of SimCode: time 1.764e-06/0.5471, allocations: 0 / 0.5497 GB, free: 9.184 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat does not exist to compare? outputFormat=mat