Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_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 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 179.3 kB / 8.478 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.031/1.031, allocations: 205.2 MB / 214.1 MB, free: 5.09 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.0008676/0.0008676, allocations: 87.66 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1432/0.1441, allocations: 52.99 MB / 315.1 MB, free: 41.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05906/0.2032, allocations: 47.57 MB / 362.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.3997, allocations: 86.34 MB / 449 MB, free: 9.984 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.4, allocations: 87 kB / 449.1 MB, free: 9.969 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.02849/0.4285, allocations: 13.12 MB / 462.2 MB, free: 4.695 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.4285, allocations: 5.875 kB / 462.2 MB, free: 4.695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.4287, allocations: 85.33 kB / 462.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.4293, allocations: 469.9 kB / 462.7 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.4293, allocations: 17.81 kB / 462.8 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.999e-05/0.4294, allocations: 37.62 kB / 462.8 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006814/0.4301, allocations: 388.7 kB / 463.2 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.4309, allocations: 0.5174 MB / 463.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.4309, allocations: 1.375 kB / 463.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.431, allocations: 3.984 kB / 463.7 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.431, allocations: 13.75 kB / 463.7 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.4337, allocations: 2.086 MB / 465.8 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.4343, allocations: 338.4 kB / 466.1 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.4346, allocations: 224 kB / 466.3 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.4347, allocations: 9.484 kB / 466.4 MB, free: 2.824 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003189/0.435, allocations: 255.1 kB / 466.6 MB, free: 2.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.435, allocations: 4 kB / 466.6 MB, free: 2.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006346/0.4357, allocations: 374 kB / 467 MB, free: 2.605 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.4357, allocations: 147 kB / 467.1 MB, free: 2.441 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.4361, allocations: 348.8 kB / 467.5 MB, free: 2.309 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.4361, allocations: 31.86 kB / 467.5 MB, free: 2.277 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4362, allocations: 249.5 kB / 467.7 MB, free: 2.086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.4363, allocations: 127.7 kB / 467.9 MB, free: 1.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.4363, allocations: 1.312 kB / 467.9 MB, free: 1.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.4364, allocations: 364.1 kB / 468.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.4366, allocations: 134.7 kB / 468.3 MB, free: 1.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.4369, allocations: 291.8 kB / 468.6 MB, free: 1.465 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.4371, allocations: 147 kB / 468.8 MB, free: 1.441 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4371, allocations: 1.375 kB / 468.8 MB, free: 1.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006989/0.4378, allocations: 0.4899 MB / 469.3 MB, free: 1.305 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003223/0.4381, allocations: 1.658 MB / 470.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4382, allocations: 3.531 kB / 470.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/0.4385, allocations: 87.03 kB / 471 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.4388, allocations: 89.8 kB / 471.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.4404, allocations: 1.656 MB / 472.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.4408, allocations: 77.14 kB / 472.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.4409, allocations: 20.22 kB / 472.9 MB, free: 14.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/0.4409, allocations: 4 kB / 472.9 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006286/0.4415, allocations: 407.8 kB / 473.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4416, allocations: 4.344 kB / 473.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/0.4418, allocations: 81.52 kB / 473.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.4421, allocations: 87.95 kB / 473.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.4436, allocations: 1.665 MB / 475.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.444, allocations: 58.5 kB / 475.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.444, allocations: 19.81 kB / 475.2 MB, free: 12.72 MB / 330.7 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.4442, allocations: 147.6 kB / 475.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.4443, allocations: 46.12 kB / 475.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.422e-05/0.4444, allocations: 51.55 kB / 475.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4444, allocations: 4.844 kB / 475.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4444, allocations: 1.219 kB / 475.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4444, allocations: 0.9688 kB / 475.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.4459, allocations: 1.092 MB / 476.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4459, allocations: 4.938 kB / 476.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.4461, allocations: 46.22 kB / 476.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.4463, allocations: 78.94 kB / 476.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.4464, allocations: 6.094 kB / 476.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.4479, allocations: 1.642 MB / 478.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4479, allocations: 0 / 478.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008827/0.4488, allocations: 0.6777 MB / 479 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001239/0.45, allocations: 1.255 MB / 480.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.4502, allocations: 161.8 kB / 480.4 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/0.4503, allocations: 3.984 kB / 480.4 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.4507, allocations: 39.97 kB / 480.4 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.4508, allocations: 31.2 kB / 480.4 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.4508, allocations: 15.67 kB / 480.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002568/0.4511, allocations: 261.4 kB / 480.7 MB, free: 9.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001874/0.453, allocations: 251.1 kB / 481 MB, free: 8.801 MB / 330.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: 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001612/0.4531, allocations: 120.8 kB / 481.1 MB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.4543, allocations: 0.8408 MB / 481.9 MB, free: 8.012 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4543, allocations: 3.5 kB / 481.9 MB, free: 8.012 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.4548, allocations: 305.4 kB / 482.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.4552, allocations: 69.28 kB / 482.3 MB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.4567, allocations: 0.7487 MB / 483 MB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.4573, allocations: 0.9554 MB / 484 MB, free: 6.066 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4573, allocations: 0 / 484 MB, free: 6.066 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat