Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",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.001092/0.001092, allocations: 197.9 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008673/0.0008672, allocations: 95.88 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09574/0.09664, allocations: 56.92 MB / 343.2 MB, free: 8.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.1861, allocations: 51.48 MB / 394.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.236/0.4221, allocations: 89.29 MB / 484 MB, free: 3.879 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.4224, allocations: 86.06 kB / 484.1 MB, free: 3.832 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.03744/0.4598, allocations: 14.87 MB / 499 MB, free: 7.422 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.4599, allocations: 12 kB / 499 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004063/0.4603, allocations: 114.9 kB / 499.1 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.4611, allocations: 0.4974 MB / 499.6 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.4612, allocations: 23.94 kB / 499.6 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.4613, allocations: 40 kB / 499.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008308/0.4621, allocations: 445.5 kB / 0.4884 GB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000982/0.4631, allocations: 0.5858 MB / 0.4889 GB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.4632, allocations: 4 kB / 0.4889 GB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.4632, allocations: 3.812 kB / 0.489 GB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.4632, allocations: 16 kB / 0.489 GB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/0.4666, allocations: 2.279 MB / 0.4912 GB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/0.4676, allocations: 0.4953 MB / 0.4917 GB, free: 3.762 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.468, allocations: 270.5 kB / 0.4919 GB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.4681, allocations: 12.19 kB / 0.4919 GB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.4685, allocations: 291.8 kB / 0.4922 GB, free: 3.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 1.773e-06/0.4685, allocations: 4 kB / 0.4922 GB, free: 3.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.000757/0.4693, allocations: 435.8 kB / 0.4926 GB, free: 3.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.4694, allocations: 162.7 kB / 0.4928 GB, free: 2.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.4698, allocations: 353.9 kB / 0.4931 GB, free: 2.535 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.4698, allocations: 36.83 kB / 0.4932 GB, free: 2.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.47, allocations: 267.4 kB / 0.4934 GB, free: 2.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4701, allocations: 150.5 kB / 0.4936 GB, free: 2.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.4702, allocations: 0.6875 kB / 0.4936 GB, free: 2.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4703, allocations: 368.9 kB / 0.4939 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.4706, allocations: 155.4 kB / 0.4941 GB, free: 1.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.471, allocations: 322.3 kB / 0.4944 GB, free: 1.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.4713, allocations: 179.3 kB / 0.4945 GB, free: 1.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4713, allocations: 0 / 0.4945 GB, free: 1.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009067/0.4722, allocations: 0.5286 MB / 0.4951 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005787/0.4728, allocations: 1.656 MB / 0.4967 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4728, allocations: 7.938 kB / 0.4967 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002877/0.4731, allocations: 82.73 kB / 0.4968 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.4736, allocations: 112.8 kB / 0.4969 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.475, allocations: 1.554 MB / 0.4984 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.4755, allocations: 85.3 kB / 0.4985 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.4755, allocations: 19.31 kB / 0.4985 GB, free: 13.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.253e-06/0.4756, allocations: 4 kB / 0.4985 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007231/0.4763, allocations: 448.5 kB / 0.4989 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4763, allocations: 4 kB / 0.4989 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002097/0.4765, allocations: 77.44 kB / 0.499 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.4769, allocations: 103.4 kB / 0.4991 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.4782, allocations: 1.558 MB / 0.5006 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.4787, allocations: 67.72 kB / 0.5007 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.4787, allocations: 22.56 kB / 0.5007 GB, free: 11.26 MB / 378.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_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 (65): * Single equations (assignments): 64 * 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.0001619/0.4789, allocations: 139 kB / 0.5008 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.479, allocations: 59.34 kB / 0.5009 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.4791, allocations: 50.84 kB / 0.5009 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4791, allocations: 4 kB / 0.5009 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4791, allocations: 0 / 0.5009 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4791, allocations: 7.984 kB / 0.501 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.4809, allocations: 1.22 MB / 0.5021 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4809, allocations: 3.938 kB / 0.5022 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.4813, allocations: 78.92 kB / 0.5022 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002346/0.4815, allocations: 69.27 kB / 0.5023 GB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.4816, allocations: 9.672 kB / 0.5023 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.483, allocations: 1.528 MB / 0.5038 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.483, allocations: 0 / 0.5038 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001038/0.4841, allocations: 0.7895 MB / 0.5046 GB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001496/0.4856, allocations: 1.396 MB / 0.5059 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.4858, allocations: 176.3 kB / 0.5061 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.4859, allocations: 4.188 kB / 0.5061 GB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.4863, allocations: 51.86 kB / 0.5062 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.352e-05/0.4864, allocations: 44.36 kB / 0.5062 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.4865, allocations: 21.11 kB / 0.5062 GB, free: 6.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002821/0.4868, allocations: 267.2 kB / 0.5065 GB, free: 5.809 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002097/0.4889, allocations: 290.9 kB / 0.5067 GB, free: 5.523 MB / 378.7 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 (45): * Single equations (assignments): 39 * 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.0001942/0.4891, allocations: 125.2 kB / 0.5069 GB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.4904, allocations: 0.8977 MB / 0.5077 GB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4904, allocations: 4.25 kB / 0.5077 GB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/0.4908, allocations: 335.4 kB / 0.5081 GB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.4913, allocations: 68.36 kB / 0.5081 GB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.4933, allocations: 0.925 MB / 0.509 GB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006264/0.494, allocations: 0.9969 MB / 0.51 GB, free: 2.094 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.494, allocations: 0 / 0.51 GB, free: 2.094 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat