Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_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 4.0.0+maint.om/package.mo): time 0.0009729/0.0009731, allocations: 183.1 kB / 8.13 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.099/1.099, allocations: 221.4 MB / 229.9 MB, free: 3.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009468/0.0009469, allocations: 103.9 kB / 280.8 MB, free: 1.332 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0933/0.09428, allocations: 55.84 MB / 336.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.2737, allocations: 50.39 MB / 387 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08762/0.3613, allocations: 88.26 MB / 475.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.3616, allocations: 87.88 kB / 475.4 MB, free: 14.45 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.03697/0.3986, allocations: 14.59 MB / 490 MB, free: 15.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.3986, allocations: 11.98 kB / 490 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.3988, allocations: 86.97 kB / 490.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008005/0.3996, allocations: 493.9 kB / 490.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.3997, allocations: 28 kB / 490.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/0.3998, allocations: 43.91 kB / 490.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007828/0.4006, allocations: 439.7 kB / 491 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/0.4015, allocations: 0.5699 MB / 491.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/0.4016, allocations: 4 kB / 491.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.03e-05/0.4016, allocations: 3.984 kB / 491.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.4017, allocations: 20 kB / 491.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.405, allocations: 2.272 MB / 493.9 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.4056, allocations: 385.8 kB / 494.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.4061, allocations: 248.7 kB / 494.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.4061, allocations: 12 kB / 494.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003767/0.4065, allocations: 275.4 kB / 494.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 1.763e-06/0.4065, allocations: 1.312 kB / 494.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006877/0.4072, allocations: 419.3 kB / 495.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.4073, allocations: 170.6 kB / 495.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.4077, allocations: 365 kB / 495.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.4077, allocations: 25.7 kB / 495.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.4079, allocations: 276 kB / 496 MB, free: 9.473 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.408, allocations: 142 kB / 496.2 MB, free: 9.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.408, allocations: 0 / 496.2 MB, free: 9.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4081, allocations: 362.8 kB / 496.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.4084, allocations: 153.3 kB / 496.7 MB, free: 8.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.4087, allocations: 321 kB / 497 MB, free: 8.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.409, allocations: 176.6 kB / 497.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.409, allocations: 0 / 497.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000812/0.4098, allocations: 0.5226 MB / 497.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00048/0.4103, allocations: 1.658 MB / 499.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4103, allocations: 4 kB / 499.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.4106, allocations: 76.81 kB / 499.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.411, allocations: 99.83 kB / 499.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.4123, allocations: 1.554 MB / 0.4893 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.4128, allocations: 87.55 kB / 0.4894 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.4128, allocations: 20 kB / 0.4894 GB, free: 3.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.393e-06/0.4128, allocations: 7.656 kB / 0.4894 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000679/0.4135, allocations: 446.5 kB / 0.4899 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.4136, allocations: 8 kB / 0.4899 GB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.4138, allocations: 72.83 kB / 0.4899 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.4141, allocations: 95.83 kB / 0.49 GB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.4154, allocations: 1.553 MB / 0.4915 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.4158, allocations: 59.72 kB / 0.4916 GB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.4158, allocations: 31.94 kB / 0.4916 GB, free: 1.609 MB / 378.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: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (64): * Single equations (assignments): 63 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.416, allocations: 139.9 kB / 0.4918 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.4161, allocations: 51.42 kB / 0.4918 GB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.4162, allocations: 53.02 kB / 0.4919 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.4162, allocations: 4 kB / 0.4919 GB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4162, allocations: 7.906 kB / 0.4919 GB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.4162, allocations: 3.984 kB / 0.4919 GB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.4179, allocations: 1.186 MB / 0.493 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4179, allocations: 0 / 0.493 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.4181, allocations: 59.94 kB / 0.4931 GB, free: 52 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1007/0.5189, allocations: 70.66 kB / 0.4932 GB, free: 133.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/0.519, allocations: 3.469 kB / 0.4932 GB, free: 133.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.5201, allocations: 1.537 MB / 0.4947 GB, free: 132.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5201, allocations: 0 / 0.4947 GB, free: 132.1 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008702/0.521, allocations: 0.747 MB / 0.4954 GB, free: 131.9 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001106/0.5221, allocations: 1.336 MB / 0.4967 GB, free: 131.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.5223, allocations: 170.9 kB / 0.4969 GB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.911e-05/0.5224, allocations: 2.469 kB / 0.4969 GB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.5228, allocations: 39.2 kB / 0.4969 GB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.5229, allocations: 43.36 kB / 0.4969 GB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.5229, allocations: 17.19 kB / 0.497 GB, free: 131.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002532/0.5232, allocations: 272.5 kB / 0.4972 GB, free: 131.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001817/0.525, allocations: 280.8 kB / 0.4975 GB, free: 131.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (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_p.off,rectifier.thyristor_n.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_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001483/0.5251, allocations: 132.5 kB / 0.4976 GB, free: 131.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009896/0.5261, allocations: 0.8727 MB / 0.4985 GB, free: 130.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5262, allocations: 0 / 0.4985 GB, free: 130.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.5265, allocations: 331.2 kB / 0.4988 GB, free: 130.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.5269, allocations: 67.02 kB / 0.4989 GB, free: 130.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.5284, allocations: 0.8808 MB / 0.4997 GB, free: 130.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/0.5288, allocations: 0.9846 MB / 0.5007 GB, free: 129.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5288, allocations: 0 / 0.5007 GB, free: 129.8 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat