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_RL.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_RL,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0009649/0.000965, allocations: 174.9 kB / 8.473 MB, free: 1.875 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.05/1.05, allocations: 205.2 MB / 214.1 MB, free: 5.082 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.0008888/0.0008887, allocations: 87.33 kB / 262.1 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1476/0.1486, allocations: 52.99 MB / 315.1 MB, free: 41.37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06199/0.2106, allocations: 47.57 MB / 362.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.4044, allocations: 89.82 MB / 452.5 MB, free: 9.418 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.4047, allocations: 87.19 kB / 452.6 MB, free: 9.402 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.06792/0.4726, allocations: 29.64 MB / 482.2 MB, free: 9.434 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.4727, allocations: 8 kB / 482.2 MB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000461/0.4731, allocations: 158.1 kB / 482.4 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.4768, allocations: 1.626 MB / 484 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.4769, allocations: 47.81 kB / 484 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.4771, allocations: 75.91 kB / 484.1 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002052/0.4792, allocations: 1.305 MB / 485.4 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.4815, allocations: 1.515 MB / 486.9 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.4816, allocations: 4 kB / 486.9 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.4817, allocations: 3.984 kB / 486.9 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.4818, allocations: 58.02 kB / 487 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006921/0.4887, allocations: 4.717 MB / 491.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.4899, allocations: 0.8524 MB / 492.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008154/0.4907, allocations: 0.5506 MB / 493.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.4908, allocations: 8.656 kB / 493.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007266/0.4915, allocations: 0.5409 MB / 493.7 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 2.965e-06/0.4915, allocations: 0 / 493.7 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of matching and sorting (n=81): time 0.001541/0.4931, allocations: 0.9305 MB / 494.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.4932, allocations: 153.2 kB / 494.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009199/0.4941, allocations: 0.6831 MB / 495.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-05/0.4942, allocations: 45.69 kB / 495.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.4946, allocations: 495.4 kB / 495.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.4948, allocations: 219.5 kB / 496.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.4948, allocations: 4.031 kB / 496.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.495, allocations: 398.7 kB / 496.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005469/0.4955, allocations: 409.8 kB / 497 MB, free: 13.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007193/0.4963, allocations: 0.6241 MB / 497.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.4969, allocations: 424.3 kB / 498 MB, free: 12.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4969, allocations: 4 kB / 498 MB, free: 12.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001628/0.4985, allocations: 1.151 MB / 499.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008568/0.4994, allocations: 2.525 MB / 0.4899 GB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.4994, allocations: 8 kB / 0.4899 GB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.4999, allocations: 225.6 kB / 0.4901 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.5005, allocations: 155.7 kB / 0.4903 GB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.5032, allocations: 2.547 MB / 0.4928 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.5039, allocations: 139.2 kB / 0.4929 GB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.504, allocations: 36 kB / 0.4929 GB, free: 5.035 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.504, allocations: 4 kB / 0.4929 GB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001453/0.5055, allocations: 1.02 MB / 0.4939 GB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.5055, allocations: 4.844 kB / 0.4939 GB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/0.506, allocations: 224.7 kB / 0.4942 GB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.5065, allocations: 139.8 kB / 0.4943 GB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.5091, allocations: 2.553 MB / 0.4968 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/0.5098, allocations: 111.5 kB / 0.4969 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/0.5098, allocations: 36 kB / 0.4969 GB, free: 0.8359 MB / 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 (106): * Single equations (assignments): 105 * 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.0002303/0.5101, allocations: 168.8 kB / 0.4971 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.5102, allocations: 86.97 kB / 0.4972 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.5105, allocations: 100.4 kB / 0.4973 GB, free: 496 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.5105, allocations: 8 kB / 0.4973 GB, free: 488 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5105, allocations: 0 / 0.4973 GB, free: 488 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.5105, allocations: 7.984 kB / 0.4973 GB, free: 480 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/0.5142, allocations: 2.3 MB / 0.4995 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5142, allocations: 192 / 0.4995 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.5146, allocations: 75.97 kB / 0.4996 GB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004267/0.515, allocations: 208.6 kB / 0.4998 GB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.5151, allocations: 7.984 kB / 0.4998 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.5177, allocations: 2.468 MB / 0.5022 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5177, allocations: 0 / 0.5022 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00206/0.5198, allocations: 1.596 MB / 0.5038 GB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002718/0.5225, allocations: 2.546 MB / 0.5063 GB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.5229, allocations: 255.9 kB / 0.5065 GB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.5231, allocations: 15.98 kB / 0.5065 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/0.5236, allocations: 75.92 kB / 0.5066 GB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.5238, allocations: 84.53 kB / 0.5067 GB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.5239, allocations: 23.98 kB / 0.5067 GB, free: 6.559 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0006692/0.5246, allocations: 0.5069 MB / 0.5072 GB, free: 6.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002557/0.5271, allocations: 0.5407 MB / 0.5077 GB, free: 5.508 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[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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.0002287/0.5274, allocations: 148.6 kB / 0.5079 GB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002446/0.5298, allocations: 1.777 MB / 0.5096 GB, free: 3.562 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5298, allocations: 0 / 0.5096 GB, free: 3.562 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008431/0.5307, allocations: 0.6461 MB / 0.5102 GB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.5315, allocations: 155.8 kB / 0.5104 GB, free: 2.758 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.5352, allocations: 1.974 MB / 0.5123 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.5363, allocations: 1.456 MB / 0.5137 GB, free: 15.26 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5364, allocations: 4 kB / 0.5137 GB, free: 15.25 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.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_RL_res.mat does not exist to compare? outputFormat=mat