Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_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 trunk/package.mo): time 0.001322/0.001322, allocations: 204.8 kB / 8.543 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.121/1.121, allocations: 225.5 MB / 234.4 MB, free: 3.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008738/0.0008738, allocations: 90.89 kB / 286.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09407/0.09498, allocations: 56.92 MB / 343.2 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08081/0.1758, allocations: 51.49 MB / 394.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2175/0.3933, allocations: 89.26 MB / 484 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.3936, allocations: 86.52 kB / 484.1 MB, free: 3.895 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.03673/0.4303, allocations: 15.44 MB / 499.5 MB, free: 7.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.4304, allocations: 8 kB / 499.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003064/0.4307, allocations: 107 kB / 499.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008574/0.4315, allocations: 0.5117 MB / 0.4884 GB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.483e-05/0.4316, allocations: 24 kB / 0.4884 GB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.4317, allocations: 50.95 kB / 0.4885 GB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009051/0.4326, allocations: 491.8 kB / 0.489 GB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.4336, allocations: 0.6403 MB / 0.4896 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.4337, allocations: 0.5625 kB / 0.4896 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/0.4337, allocations: 4 kB / 0.4896 GB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.4338, allocations: 16 kB / 0.4896 GB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/0.4373, allocations: 2.605 MB / 0.4922 GB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.438, allocations: 477 kB / 0.4926 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/0.4386, allocations: 361.7 kB / 0.493 GB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.4386, allocations: 4.438 kB / 0.493 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/0.4391, allocations: 326.5 kB / 0.4933 GB, free: 2.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.364e-06/0.4391, allocations: 0 / 0.4933 GB, free: 2.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.001065/0.4402, allocations: 0.529 MB / 0.4938 GB, free: 2.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.4403, allocations: 140.3 kB / 0.4939 GB, free: 2.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.4407, allocations: 378.3 kB / 0.4943 GB, free: 1.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.4408, allocations: 37.7 kB / 0.4943 GB, free: 1.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.4409, allocations: 273.5 kB / 0.4946 GB, free: 1.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.4411, allocations: 179.9 kB / 0.4947 GB, free: 1.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.4411, allocations: 0 / 0.4947 GB, free: 1.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.4412, allocations: 362.5 kB / 0.4951 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.4415, allocations: 190.8 kB / 0.4953 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.4419, allocations: 348 kB / 0.4956 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.4423, allocations: 212.3 kB / 0.4958 GB, free: 436 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4423, allocations: 0 / 0.4958 GB, free: 436 kB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009611/0.4433, allocations: 0.6334 MB / 0.4964 GB, free: 15.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004863/0.4438, allocations: 1.576 MB / 0.498 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.4438, allocations: 4 kB / 0.498 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004851/0.4443, allocations: 161.9 kB / 0.4981 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.4447, allocations: 98.58 kB / 0.4982 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.4477, allocations: 3.292 MB / 0.5014 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.4482, allocations: 87.48 kB / 0.5015 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.4483, allocations: 23.23 kB / 0.5015 GB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.054e-06/0.4483, allocations: 8 kB / 0.5015 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009418/0.4492, allocations: 0.5447 MB / 0.5021 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.4492, allocations: 4.5 kB / 0.5021 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.4496, allocations: 153 kB / 0.5022 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.45, allocations: 93.08 kB / 0.5023 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.4529, allocations: 3.302 MB / 0.5055 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.4533, allocations: 66.16 kB / 0.5056 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.4534, allocations: 31.92 kB / 0.5056 GB, free: 6.746 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.4535, allocations: 132.8 kB / 0.5058 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.4536, allocations: 55.34 kB / 0.5058 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.4538, allocations: 65.47 kB / 0.5059 GB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4538, allocations: 12 kB / 0.5059 GB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4538, allocations: 3.906 kB / 0.5059 GB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4538, allocations: 0 / 0.5059 GB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.4557, allocations: 1.29 MB / 0.5072 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4557, allocations: 0 / 0.5072 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.456, allocations: 55.91 kB / 0.5072 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003932/0.4564, allocations: 149.6 kB / 0.5074 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.4564, allocations: 11.98 kB / 0.5074 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/0.4593, allocations: 3.264 MB / 0.5106 GB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4593, allocations: 0 / 0.5106 GB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00126/0.4606, allocations: 0.9003 MB / 0.5114 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001707/0.4623, allocations: 1.545 MB / 0.5129 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.4625, allocations: 192.2 kB / 0.5131 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.4626, allocations: 11.89 kB / 0.5131 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.463, allocations: 35.97 kB / 0.5132 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4631, allocations: 48.42 kB / 0.5132 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.4632, allocations: 16 kB / 0.5132 GB, free: 14.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003035/0.4635, allocations: 279.2 kB / 0.5135 GB, free: 14.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002179/0.4657, allocations: 312 kB / 0.5138 GB, free: 14.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.4659, allocations: 133.7 kB / 0.5139 GB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.4675, allocations: 1.268 MB / 0.5152 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4675, allocations: 0 / 0.5152 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005698/0.4681, allocations: 490.6 kB / 0.5156 GB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.4686, allocations: 83.81 kB / 0.5157 GB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.4707, allocations: 1.009 MB / 0.5167 GB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/0.4713, allocations: 1.002 MB / 0.5177 GB, free: 9.957 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4713, allocations: 0 / 0.5177 GB, free: 9.957 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat does not exist to compare? outputFormat=mat