Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_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 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 178.9 kB / 8.135 MB, free: 0.8711 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.123/1.123, allocations: 221.4 MB / 229.9 MB, free: 13.55 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 95.58 kB / 280.8 MB, free: 10.5 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 0.08926/0.09019, allocations: 55.83 MB / 336.6 MB, free: 2.691 MB / 274.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07736/0.1676, allocations: 50.42 MB / 387 MB, free: 220 kB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.3648, allocations: 87.95 MB / 475 MB, free: 9.641 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.3651, allocations: 88.45 kB / 475.1 MB, free: 9.555 MB / 354.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.03632/0.4014, allocations: 14.28 MB / 489.4 MB, free: 11.36 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.4014, allocations: 8 kB / 489.4 MB, free: 11.35 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.4016, allocations: 79.06 kB / 489.4 MB, free: 11.27 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.4024, allocations: 0.49 MB / 489.9 MB, free: 10.74 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.4024, allocations: 20 kB / 490 MB, free: 10.72 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.253e-05/0.4025, allocations: 40 kB / 490 MB, free: 10.68 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007832/0.4033, allocations: 430.5 kB / 490.4 MB, free: 10.26 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009039/0.4042, allocations: 0.5543 MB / 491 MB, free: 9.68 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.4042, allocations: 5.25 kB / 491 MB, free: 9.676 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.4043, allocations: 8 kB / 491 MB, free: 9.668 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.4043, allocations: 12 kB / 491 MB, free: 9.656 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.4076, allocations: 2.243 MB / 493.2 MB, free: 7.316 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.4082, allocations: 380.7 kB / 493.6 MB, free: 6.938 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.4086, allocations: 243.7 kB / 493.8 MB, free: 6.699 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.4087, allocations: 4 kB / 493.9 MB, free: 6.695 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.4091, allocations: 276 kB / 494.1 MB, free: 6.41 MB / 370.8 MB Notification: Performance of pre-optimization done (n=48): time 1.844e-06/0.4091, allocations: 0 / 494.1 MB, free: 6.41 MB / 370.8 MB Notification: Performance of matching and sorting (n=48): time 0.0006942/0.4098, allocations: 407.3 kB / 494.5 MB, free: 6 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.4099, allocations: 170.6 kB / 494.7 MB, free: 5.797 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.4103, allocations: 361 kB / 495 MB, free: 5.445 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.4103, allocations: 33.69 kB / 495.1 MB, free: 5.406 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.4105, allocations: 264.2 kB / 495.3 MB, free: 5.141 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4107, allocations: 130.1 kB / 495.5 MB, free: 5.012 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.4107, allocations: 0 / 495.5 MB, free: 5.012 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4108, allocations: 367.5 kB / 495.8 MB, free: 4.645 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.4111, allocations: 161.3 kB / 496 MB, free: 4.488 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.4115, allocations: 309 kB / 496.3 MB, free: 4.113 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.4117, allocations: 172.7 kB / 496.4 MB, free: 3.941 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.4118, allocations: 4 kB / 496.4 MB, free: 3.938 MB / 370.8 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008186/0.4126, allocations: 0.5186 MB / 497 MB, free: 3.41 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005883/0.4132, allocations: 1.657 MB / 498.6 MB, free: 1.625 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.4132, allocations: 7.938 kB / 498.6 MB, free: 1.617 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/0.4135, allocations: 76.81 kB / 498.7 MB, free: 1.539 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.4139, allocations: 101.6 kB / 498.8 MB, free: 1.441 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.4154, allocations: 1.549 MB / 0.4886 GB, free: 15.78 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.4158, allocations: 79.61 kB / 0.4887 GB, free: 15.7 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.4159, allocations: 31.12 kB / 0.4887 GB, free: 15.68 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/0.4159, allocations: 4 kB / 0.4887 GB, free: 15.67 MB / 386.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007134/0.4166, allocations: 434.5 kB / 0.4892 GB, free: 15.24 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.4166, allocations: 8.062 kB / 0.4892 GB, free: 15.23 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.4168, allocations: 79.02 kB / 0.4892 GB, free: 15.16 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.4172, allocations: 91.83 kB / 0.4893 GB, free: 15.07 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.4185, allocations: 1.553 MB / 0.4908 GB, free: 13.4 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.4189, allocations: 59.72 kB / 0.4909 GB, free: 13.34 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.419, allocations: 24 kB / 0.4909 GB, free: 13.32 MB / 386.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.4191, allocations: 145.5 kB / 0.4911 GB, free: 13.18 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.4192, allocations: 47.44 kB / 0.4911 GB, free: 13.13 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.4193, allocations: 56.95 kB / 0.4912 GB, free: 13.07 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4193, allocations: 9.219 kB / 0.4912 GB, free: 13.07 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4193, allocations: 0 / 0.4912 GB, free: 13.07 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.4194, allocations: 7.891 kB / 0.4912 GB, free: 13.06 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.421, allocations: 1.171 MB / 0.4923 GB, free: 11.83 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.421, allocations: 7.938 kB / 0.4923 GB, free: 11.82 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.4213, allocations: 48 kB / 0.4924 GB, free: 11.78 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/0.4215, allocations: 76.77 kB / 0.4924 GB, free: 11.7 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.4216, allocations: 3.984 kB / 0.4924 GB, free: 11.7 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.4229, allocations: 1.525 MB / 0.4939 GB, free: 10.05 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4229, allocations: 0 / 0.4939 GB, free: 10.05 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001051/0.424, allocations: 0.7552 MB / 0.4947 GB, free: 9.27 MB / 386.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001435/0.4254, allocations: 1.339 MB / 0.496 GB, free: 7.902 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.4256, allocations: 172.4 kB / 0.4961 GB, free: 7.715 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/0.4257, allocations: 4 kB / 0.4962 GB, free: 7.711 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.4261, allocations: 39.88 kB / 0.4962 GB, free: 7.672 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/0.4262, allocations: 40.56 kB / 0.4962 GB, free: 7.633 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.4262, allocations: 15.98 kB / 0.4962 GB, free: 7.617 MB / 386.8 MB Notification: Performance of sort global known variables: time 0.0002983/0.4265, allocations: 275.2 kB / 0.4965 GB, free: 7.352 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.001994/0.4285, allocations: 271 kB / 0.4968 GB, free: 7.086 MB / 386.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001686/0.4287, allocations: 134.5 kB / 0.4969 GB, free: 6.945 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.4299, allocations: 0.8623 MB / 0.4977 GB, free: 6.066 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4299, allocations: 0 / 0.4977 GB, free: 6.066 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.4303, allocations: 323.2 kB / 0.498 GB, free: 5.742 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.4308, allocations: 66.17 kB / 0.4981 GB, free: 5.676 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.4325, allocations: 0.8752 MB / 0.499 GB, free: 4.777 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006202/0.4332, allocations: 0.9775 MB / 0.4999 GB, free: 3.773 MB / 386.8 MB Notification: Performance of SimCode: time 3.61e-07/0.4332, allocations: 4.969 kB / 0.4999 GB, free: 3.77 MB / 386.8 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat