Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",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.001053/0.001053, allocations: 207.6 kB / 8.542 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.148/1.148, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008374/0.0008374, allocations: 96.92 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09068/0.09154, allocations: 56.92 MB / 343.3 MB, free: 8.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08215/0.1737, allocations: 51.46 MB / 394.7 MB, free: 5.027 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2145/0.3883, allocations: 89.02 MB / 483.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.3885, allocations: 88.84 kB / 483.8 MB, free: 4.078 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.02822/0.4168, allocations: 12.11 MB / 495.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.4168, allocations: 11.94 kB / 496 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.417, allocations: 103 kB / 496.1 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007019/0.4178, allocations: 0.4965 MB / 496.6 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.4178, allocations: 24 kB / 496.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.017e-05/0.4179, allocations: 39.91 kB / 496.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008167/0.4187, allocations: 476.3 kB / 497.1 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000926/0.4196, allocations: 0.6156 MB / 497.7 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.4197, allocations: 0 / 497.7 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.4197, allocations: 9.297 kB / 497.7 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.4198, allocations: 16 kB / 497.7 MB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.4231, allocations: 2.539 MB / 0.4885 GB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006736/0.4238, allocations: 465.2 kB / 0.489 GB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.4241, allocations: 255 kB / 0.4892 GB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.4241, allocations: 4.438 kB / 0.4892 GB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003944/0.4245, allocations: 301.8 kB / 0.4895 GB, free: 5.777 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 1.743e-06/0.4245, allocations: 0 / 0.4895 GB, free: 5.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0007586/0.4253, allocations: 494.4 kB / 0.49 GB, free: 5.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.4254, allocations: 137.1 kB / 0.4901 GB, free: 5.254 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.4258, allocations: 381.2 kB / 0.4905 GB, free: 4.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.4258, allocations: 33.69 kB / 0.4905 GB, free: 4.926 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.426, allocations: 263.8 kB / 0.4908 GB, free: 4.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4261, allocations: 171.1 kB / 0.4909 GB, free: 4.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.4261, allocations: 4 kB / 0.4909 GB, free: 4.539 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4263, allocations: 361.3 kB / 0.4913 GB, free: 4.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.4266, allocations: 175.8 kB / 0.4914 GB, free: 4.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.4269, allocations: 335.8 kB / 0.4918 GB, free: 3.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.4272, allocations: 189.4 kB / 0.4919 GB, free: 3.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.4272, allocations: 4 kB / 0.4919 GB, free: 3.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009548/0.4282, allocations: 0.5994 MB / 0.4925 GB, free: 3.227 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004927/0.4287, allocations: 1.58 MB / 0.4941 GB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4287, allocations: 4 kB / 0.4941 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/0.4292, allocations: 145.5 kB / 0.4942 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.4295, allocations: 95.2 kB / 0.4943 GB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.4318, allocations: 2.056 MB / 0.4963 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.4322, allocations: 79.7 kB / 0.4964 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.4323, allocations: 19.25 kB / 0.4964 GB, free: 15.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.501e-06/0.4323, allocations: 7 kB / 0.4964 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007873/0.4331, allocations: 0.5122 MB / 0.4969 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4331, allocations: 4 kB / 0.4969 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/0.4335, allocations: 147.5 kB / 0.4971 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.4338, allocations: 83.09 kB / 0.4971 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.4359, allocations: 2.062 MB / 0.4992 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.4363, allocations: 59.66 kB / 0.4992 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.4363, allocations: 26.75 kB / 0.4992 GB, free: 13 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.4365, allocations: 135.3 kB / 0.4994 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.4366, allocations: 55.34 kB / 0.4994 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.4367, allocations: 68.41 kB / 0.4995 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.4367, allocations: 7.984 kB / 0.4995 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.4367, allocations: 0 / 0.4995 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4367, allocations: 0 / 0.4995 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.4385, allocations: 1.232 MB / 0.5007 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4385, allocations: 4 kB / 0.5007 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.4388, allocations: 42.55 kB / 0.5007 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003701/0.4392, allocations: 143.8 kB / 0.5009 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.4392, allocations: 3.984 kB / 0.5009 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.4415, allocations: 2.043 MB / 0.5029 GB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4415, allocations: 0 / 0.5029 GB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001239/0.4428, allocations: 0.8559 MB / 0.5037 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001682/0.4445, allocations: 1.489 MB / 0.5052 GB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.4447, allocations: 188.3 kB / 0.5053 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.559e-05/0.4448, allocations: 7.891 kB / 0.5054 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.4452, allocations: 39.97 kB / 0.5054 GB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4453, allocations: 36.44 kB / 0.5054 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.4453, allocations: 19.98 kB / 0.5054 GB, free: 6.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003037/0.4456, allocations: 287.1 kB / 0.5057 GB, free: 6.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001986/0.4476, allocations: 303 kB / 0.506 GB, free: 6.242 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/0.4478, allocations: 129.8 kB / 0.5061 GB, free: 6.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.4494, allocations: 1.033 MB / 0.5071 GB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4494, allocations: 7.938 kB / 0.5071 GB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005304/0.4499, allocations: 383.2 kB / 0.5075 GB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.4504, allocations: 86.36 kB / 0.5076 GB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.4524, allocations: 0.9204 MB / 0.5085 GB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000636/0.453, allocations: 0.9918 MB / 0.5095 GB, free: 2.613 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.453, allocations: 0 / 0.5095 GB, free: 2.613 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat