Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.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.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",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.00112/0.001121, allocations: 205.9 kB / 8.542 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.17/1.17, allocations: 225.5 MB / 234.4 MB, free: 3.359 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008753/0.0008753, allocations: 93.92 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09293/0.09383, allocations: 56.91 MB / 343.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08253/0.1764, allocations: 51.48 MB / 394.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/0.3951, allocations: 85.87 MB / 480.6 MB, free: 7.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.3953, allocations: 82.12 kB / 480.7 MB, free: 7.18 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.02491/0.4202, allocations: 10.88 MB / 491.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4203, allocations: 11.98 kB / 491.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.4205, allocations: 75.25 kB / 491.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.421, allocations: 385.5 kB / 492 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.4211, allocations: 16 kB / 492 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.4211, allocations: 35.58 kB / 492.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004936/0.4216, allocations: 301.2 kB / 492.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.4223, allocations: 422.6 kB / 492.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.4223, allocations: 0 / 492.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.4223, allocations: 0 / 492.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.4223, allocations: 14.62 kB / 492.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.4245, allocations: 1.546 MB / 494.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.4249, allocations: 264.8 kB / 494.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.4251, allocations: 100.7 kB / 494.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.4251, allocations: 11.56 kB / 494.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002833/0.4254, allocations: 198.4 kB / 494.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.442e-06/0.4254, allocations: 0 / 494.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005256/0.4259, allocations: 285 kB / 495.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.426, allocations: 132.5 kB / 495.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.4263, allocations: 293.2 kB / 495.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.4264, allocations: 33.69 kB / 495.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4265, allocations: 217.5 kB / 495.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.4266, allocations: 85.86 kB / 495.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.4266, allocations: 11.62 kB / 495.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4267, allocations: 349.3 kB / 496.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.4269, allocations: 112 kB / 496.4 MB, free: 10 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.4271, allocations: 256.5 kB / 496.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.4273, allocations: 124.9 kB / 496.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4273, allocations: 0 / 496.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005615/0.4279, allocations: 395.7 kB / 497.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004693/0.4284, allocations: 1.658 MB / 498.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4284, allocations: 4 kB / 498.8 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.4286, allocations: 47.28 kB / 498.8 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.4289, allocations: 75.28 kB / 498.9 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.4299, allocations: 1.34 MB / 0.4885 GB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.4303, allocations: 71.84 kB / 0.4886 GB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.4303, allocations: 16 kB / 0.4886 GB, free: 6.008 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.4303, allocations: 4 kB / 0.4886 GB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004743/0.4308, allocations: 324.9 kB / 0.4889 GB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4308, allocations: 8 kB / 0.4889 GB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.4309, allocations: 38.72 kB / 0.489 GB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.4312, allocations: 71.62 kB / 0.489 GB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008967/0.4321, allocations: 1.347 MB / 0.4904 GB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.4324, allocations: 55.81 kB / 0.4904 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.4325, allocations: 15.44 kB / 0.4904 GB, free: 4.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($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,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.4326, allocations: 130.6 kB / 0.4906 GB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.4326, allocations: 39.52 kB / 0.4906 GB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.441e-05/0.4327, allocations: 41.31 kB / 0.4906 GB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4327, allocations: 4.094 kB / 0.4906 GB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4327, allocations: 3.984 kB / 0.4906 GB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4328, allocations: 0 / 0.4906 GB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.4338, allocations: 0.7822 MB / 0.4914 GB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.4338, allocations: 4 kB / 0.4914 GB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.434, allocations: 27.92 kB / 0.4914 GB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.4341, allocations: 46.2 kB / 0.4915 GB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4341, allocations: 3.438 kB / 0.4915 GB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009381/0.4351, allocations: 1.324 MB / 0.4928 GB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4351, allocations: 3.906 kB / 0.4928 GB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006439/0.4357, allocations: 0.5088 MB / 0.4933 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008677/0.4366, allocations: 1.02 MB / 0.4943 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.4368, allocations: 141.2 kB / 0.4944 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.4368, allocations: 3.938 kB / 0.4944 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.4371, allocations: 35.97 kB / 0.4944 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.4372, allocations: 34.73 kB / 0.4945 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.4372, allocations: 4 kB / 0.4945 GB, free: 436 kB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002049/0.4374, allocations: 218.9 kB / 0.4947 GB, free: 264 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001879/0.4393, allocations: 190.8 kB / 0.4949 GB, free: 76 kB / 362.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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001997/0.4395, allocations: 134 kB / 0.495 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009506/0.4405, allocations: 0.6633 MB / 0.4956 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4405, allocations: 0.6875 kB / 0.4956 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.4408, allocations: 240 kB / 0.4959 GB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.4412, allocations: 46.91 kB / 0.4959 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.4425, allocations: 0.5965 MB / 0.4965 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.4429, allocations: 0.9006 MB / 0.4974 GB, free: 13.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.833e-06/0.4429, allocations: 0 / 0.4974 GB, free: 13.7 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat