Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0009232/0.0009232, allocations: 174.9 kB / 8.473 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 0.9974/0.9974, allocations: 205.2 MB / 214.1 MB, free: 1.797 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.0008379/0.0008379, allocations: 79.45 kB / 262.1 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1238/0.1247, allocations: 52.99 MB / 315.1 MB, free: 22.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06074/0.1855, allocations: 47.58 MB / 362.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.3766, allocations: 88.06 MB / 450.7 MB, free: 7.754 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.3768, allocations: 90.34 kB / 450.8 MB, free: 7.703 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.03511/0.4119, allocations: 15.03 MB / 465.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.412, allocations: 8 kB / 465.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.4121, allocations: 90.97 kB / 465.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.4128, allocations: 0.5063 MB / 466.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.4129, allocations: 31.11 kB / 466.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/0.413, allocations: 43.91 kB / 466.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007875/0.4138, allocations: 479.5 kB / 467 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.4147, allocations: 0.6291 MB / 467.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.4147, allocations: 0 / 467.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.4148, allocations: 3.688 kB / 467.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.4148, allocations: 23.98 kB / 467.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.4181, allocations: 2.558 MB / 470.2 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009544/0.419, allocations: 0.5652 MB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/0.4197, allocations: 400.1 kB / 471.2 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.4197, allocations: 4.5 kB / 471.2 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004331/0.4202, allocations: 328.6 kB / 471.5 MB, free: 6.555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 1.914e-06/0.4202, allocations: 0 / 471.5 MB, free: 6.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.0009492/0.4211, allocations: 0.539 MB / 472 MB, free: 6.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.4212, allocations: 114.2 kB / 472.1 MB, free: 6.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.4215, allocations: 352.9 kB / 472.5 MB, free: 5.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.4216, allocations: 36.58 kB / 472.5 MB, free: 5.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.4218, allocations: 268.5 kB / 472.8 MB, free: 5.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.4219, allocations: 176 kB / 472.9 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.4219, allocations: 0 / 472.9 MB, free: 5.312 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4221, allocations: 374 kB / 473.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.4223, allocations: 178.2 kB / 473.5 MB, free: 4.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.4227, allocations: 334.6 kB / 473.8 MB, free: 4.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.423, allocations: 208.9 kB / 474 MB, free: 4.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.423, allocations: 0 / 474 MB, free: 4.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009266/0.424, allocations: 0.6135 MB / 474.6 MB, free: 3.969 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000417/0.4244, allocations: 1.571 MB / 476.2 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4244, allocations: 4 kB / 476.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004487/0.4249, allocations: 168.6 kB / 476.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.4253, allocations: 111.6 kB / 476.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.428, allocations: 3.285 MB / 479.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.4284, allocations: 71.61 kB / 479.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.4285, allocations: 26.31 kB / 479.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/0.4285, allocations: 4 kB / 479.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007839/0.4293, allocations: 0.5276 MB / 480.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4293, allocations: 4.5 kB / 480.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/0.4297, allocations: 164.1 kB / 480.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.4301, allocations: 107.4 kB / 480.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.4328, allocations: 3.287 MB / 483.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.4332, allocations: 67.61 kB / 484 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.4332, allocations: 27.06 kB / 484 MB, free: 11.01 MB / 362.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,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_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.0001537/0.4334, allocations: 136 kB / 484.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.4335, allocations: 59.25 kB / 484.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.4336, allocations: 62.66 kB / 484.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4336, allocations: 8 kB / 484.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4336, allocations: 4.312 kB / 484.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4336, allocations: 3.984 kB / 484.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.4354, allocations: 1.272 MB / 485.6 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4354, allocations: 3.938 kB / 485.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.4357, allocations: 79.45 kB / 485.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003983/0.4362, allocations: 148.5 kB / 485.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.4362, allocations: 5.984 kB / 485.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/0.4389, allocations: 3.259 MB / 489.1 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4389, allocations: 0 / 489.1 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001175/0.4401, allocations: 0.8926 MB / 490 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0016/0.4417, allocations: 1.553 MB / 491.5 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.4419, allocations: 192.2 kB / 491.7 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/0.442, allocations: 4 kB / 491.7 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.4424, allocations: 47.95 kB / 491.7 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4425, allocations: 44.42 kB / 491.8 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.4426, allocations: 23.98 kB / 491.8 MB, free: 3.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002535/0.4428, allocations: 259.2 kB / 492.1 MB, free: 3.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00207/0.4449, allocations: 315 kB / 492.4 MB, free: 2.781 MB / 362.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,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: 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 (45): * Single equations (assignments): 38 * 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.0001634/0.4451, allocations: 129.3 kB / 492.5 MB, free: 2.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.4467, allocations: 1.259 MB / 493.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4467, allocations: 0 / 493.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005596/0.4473, allocations: 493.2 kB / 494.2 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.4477, allocations: 82.22 kB / 494.3 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.4498, allocations: 1.019 MB / 495.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.4504, allocations: 1.001 MB / 496.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4504, allocations: 0 / 496.3 MB, free: 14.68 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat