Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_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: 204.5 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.149/1.149, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008816/0.0008816, allocations: 88.91 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09011/0.09102, allocations: 56.92 MB / 343.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08073/0.1718, allocations: 51.48 MB / 394.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.3739, allocations: 90 MB / 484.7 MB, free: 3.461 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.3741, allocations: 83.69 kB / 484.8 MB, free: 3.414 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.04224/0.4164, allocations: 16.01 MB / 0.4891 GB, free: 6.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4164, allocations: 8 kB / 0.4891 GB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003749/0.4168, allocations: 114.9 kB / 0.4892 GB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008958/0.4177, allocations: 0.5244 MB / 0.4897 GB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.4178, allocations: 20 kB / 0.4897 GB, free: 5.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.4179, allocations: 44 kB / 0.4898 GB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000941/0.4188, allocations: 0.5065 MB / 0.4903 GB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.4199, allocations: 0.6572 MB / 0.4909 GB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.42, allocations: 3.984 kB / 0.4909 GB, free: 4.594 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.42, allocations: 3.938 kB / 0.4909 GB, free: 4.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.4201, allocations: 20 kB / 0.4909 GB, free: 4.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/0.4238, allocations: 2.627 MB / 0.4935 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.4249, allocations: 0.5972 MB / 0.4941 GB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.4256, allocations: 408.1 kB / 0.4945 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.4257, allocations: 5.25 kB / 0.4945 GB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005232/0.4262, allocations: 349.6 kB / 0.4948 GB, free: 1.398 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.515e-06/0.4262, allocations: 0 / 0.4948 GB, free: 1.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.001082/0.4273, allocations: 0.561 MB / 0.4954 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.4274, allocations: 140.5 kB / 0.4955 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.4278, allocations: 370.7 kB / 0.4958 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.4279, allocations: 37.12 kB / 0.4959 GB, free: 492 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.4281, allocations: 279 kB / 0.4961 GB, free: 236 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.4282, allocations: 183.3 kB / 0.4963 GB, free: 80 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.4282, allocations: 0 / 0.4963 GB, free: 80 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4284, allocations: 371.1 kB / 0.4967 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.4287, allocations: 192.6 kB / 0.4969 GB, free: 15.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.4291, allocations: 355.9 kB / 0.4972 GB, free: 15.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.4295, allocations: 216.2 kB / 0.4974 GB, free: 15.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4295, allocations: 0 / 0.4974 GB, free: 15.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001008/0.4305, allocations: 0.6601 MB / 0.498 GB, free: 14.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004916/0.431, allocations: 1.563 MB / 0.4996 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.431, allocations: 7.906 kB / 0.4996 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004672/0.4315, allocations: 161 kB / 0.4997 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.4319, allocations: 122.6 kB / 0.4999 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.435, allocations: 3.282 MB / 0.5031 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.4355, allocations: 83.69 kB / 0.5031 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.4356, allocations: 25.31 kB / 0.5032 GB, free: 9.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.4356, allocations: 4 kB / 0.5032 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009117/0.4365, allocations: 0.5716 MB / 0.5037 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4365, allocations: 4 kB / 0.5037 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/0.4369, allocations: 156.2 kB / 0.5039 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.4374, allocations: 103.9 kB / 0.504 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.4402, allocations: 3.304 MB / 0.5072 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.4407, allocations: 67.62 kB / 0.5073 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.4407, allocations: 24 kB / 0.5073 GB, free: 5.09 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 (69): * Single equations (assignments): 67 * 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.0001864/0.4409, allocations: 137.4 kB / 0.5074 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.441, allocations: 59.25 kB / 0.5075 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.4412, allocations: 61.47 kB / 0.5075 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4412, allocations: 9.219 kB / 0.5075 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4412, allocations: 0 / 0.5075 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4412, allocations: 11.97 kB / 0.5076 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.4432, allocations: 1.337 MB / 0.5089 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4432, allocations: 0 / 0.5089 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.4436, allocations: 83.88 kB / 0.5089 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003879/0.444, allocations: 145.6 kB / 0.5091 GB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.4441, allocations: 4 kB / 0.5091 GB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.4469, allocations: 3.261 MB / 0.5123 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4469, allocations: 4.062 kB / 0.5123 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00131/0.4483, allocations: 0.9518 MB / 0.5132 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001793/0.4501, allocations: 1.618 MB / 0.5148 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.4503, allocations: 196.2 kB / 0.515 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4504, allocations: 7.906 kB / 0.515 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.4509, allocations: 48.08 kB / 0.515 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.451, allocations: 56.52 kB / 0.5151 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.451, allocations: 19.98 kB / 0.5151 GB, free: 12.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003028/0.4514, allocations: 275.2 kB / 0.5154 GB, free: 12.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002329/0.4537, allocations: 326.8 kB / 0.5157 GB, free: 12.15 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 (47): * Single equations (assignments): 40 * 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.0002003/0.4539, allocations: 136.1 kB / 0.5158 GB, free: 12.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.4557, allocations: 1.292 MB / 0.5171 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4558, allocations: 0 / 0.5171 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006157/0.4564, allocations: 0.4951 MB / 0.5175 GB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.4569, allocations: 89.52 kB / 0.5176 GB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.4593, allocations: 1.062 MB / 0.5187 GB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/0.46, allocations: 1.025 MB / 0.5197 GB, free: 7.945 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.46, allocations: 0.75 kB / 0.5197 GB, free: 7.945 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat