Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",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.001037/0.001037, allocations: 206.7 kB / 8.536 MB, free: 1.688 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.139/1.139, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008275/0.0008275, allocations: 93.59 kB / 286.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08938/0.09023, allocations: 56.92 MB / 343.2 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07817/0.1684, allocations: 51.49 MB / 394.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.3712, allocations: 89.56 MB / 484.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.3714, allocations: 82.5 kB / 484.4 MB, free: 3.633 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.03702/0.4085, allocations: 15.74 MB / 0.4884 GB, free: 6.508 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4085, allocations: 8 kB / 0.4884 GB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.4088, allocations: 110.9 kB / 0.4885 GB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007262/0.4095, allocations: 0.5101 MB / 0.489 GB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.4096, allocations: 24 kB / 0.489 GB, free: 5.906 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.4e-05/0.4097, allocations: 44 kB / 0.4891 GB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000837/0.4105, allocations: 0.4972 MB / 0.4896 GB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009651/0.4115, allocations: 0.6584 MB / 0.4902 GB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.4115, allocations: 4 kB / 0.4902 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.4116, allocations: 5.391 kB / 0.4902 GB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.4116, allocations: 19.94 kB / 0.4902 GB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.415, allocations: 2.636 MB / 0.4928 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.4157, allocations: 491.6 kB / 0.4933 GB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006869/0.4163, allocations: 400.4 kB / 0.4937 GB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.4164, allocations: 8.984 kB / 0.4937 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004976/0.4169, allocations: 317.6 kB / 0.494 GB, free: 2.004 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 2.053e-06/0.4169, allocations: 480 / 0.494 GB, free: 2.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.001013/0.4179, allocations: 0.5431 MB / 0.4945 GB, free: 1.594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.418, allocations: 144.9 kB / 0.4946 GB, free: 1.422 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.4185, allocations: 379.2 kB / 0.495 GB, free: 1.129 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.4185, allocations: 32.02 kB / 0.495 GB, free: 1.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.4187, allocations: 283.7 kB / 0.4953 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.4189, allocations: 173.8 kB / 0.4955 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.4189, allocations: 2.531 kB / 0.4955 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.419, allocations: 371 kB / 0.4958 GB, free: 352 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.4193, allocations: 191.5 kB / 0.496 GB, free: 244 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.4198, allocations: 359 kB / 0.4963 GB, free: 15.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.4201, allocations: 211.2 kB / 0.4965 GB, free: 15.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4201, allocations: 0 / 0.4965 GB, free: 15.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0009956/0.4211, allocations: 0.6442 MB / 0.4972 GB, free: 15.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006209/0.4217, allocations: 1.568 MB / 0.4987 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.4217, allocations: 8 kB / 0.4987 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004988/0.4222, allocations: 155.7 kB / 0.4989 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.4227, allocations: 102.2 kB / 0.499 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.4258, allocations: 3.295 MB / 0.5022 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.4263, allocations: 91.45 kB / 0.5023 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.4264, allocations: 24.94 kB / 0.5023 GB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.4264, allocations: 6.188 kB / 0.5023 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009031/0.4273, allocations: 0.5536 MB / 0.5028 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4273, allocations: 4 kB / 0.5028 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003838/0.4277, allocations: 157.1 kB / 0.503 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.4281, allocations: 94.23 kB / 0.5031 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.431, allocations: 3.302 MB / 0.5063 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.4314, allocations: 63.66 kB / 0.5064 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.4314, allocations: 28 kB / 0.5064 GB, free: 5.961 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 (68): * Single equations (assignments): 66 * 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.0001845/0.4316, allocations: 144.8 kB / 0.5065 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.4317, allocations: 55.34 kB / 0.5066 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.4319, allocations: 57.42 kB / 0.5066 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4319, allocations: 15.92 kB / 0.5067 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4319, allocations: 3.906 kB / 0.5067 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4319, allocations: 0 / 0.5067 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.4338, allocations: 1.306 MB / 0.5079 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4338, allocations: 0.9375 kB / 0.5079 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.4341, allocations: 67.89 kB / 0.508 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003874/0.4345, allocations: 145.6 kB / 0.5081 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.4346, allocations: 8 kB / 0.5081 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0028/0.4374, allocations: 3.266 MB / 0.5113 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4374, allocations: 0 / 0.5113 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001289/0.4387, allocations: 0.92 MB / 0.5122 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001728/0.4404, allocations: 1.564 MB / 0.5138 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.4407, allocations: 192.3 kB / 0.5139 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.404e-05/0.4408, allocations: 11.98 kB / 0.514 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.4412, allocations: 35.97 kB / 0.514 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.4413, allocations: 44.42 kB / 0.514 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.4413, allocations: 16 kB / 0.514 GB, free: 13.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003086/0.4416, allocations: 291.1 kB / 0.5143 GB, free: 13.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002114/0.4438, allocations: 326.8 kB / 0.5146 GB, free: 13.16 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 (44): * Single equations (assignments): 37 * 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.0001758/0.4439, allocations: 141.9 kB / 0.5148 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.4456, allocations: 1.27 MB / 0.516 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4457, allocations: 3.938 kB / 0.516 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000576/0.4462, allocations: 494.2 kB / 0.5165 GB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.4467, allocations: 87.31 kB / 0.5166 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.4488, allocations: 1.019 MB / 0.5176 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/0.4494, allocations: 1.009 MB / 0.5185 GB, free: 9.035 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4494, allocations: 0 / 0.5185 GB, free: 9.035 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat