Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001079/0.001079, allocations: 203.9 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.118/1.118, allocations: 225.5 MB / 234.4 MB, free: 3.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000874/0.000874, allocations: 93.11 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09031/0.09121, allocations: 56.92 MB / 343.3 MB, free: 8.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07908/0.1703, allocations: 51.48 MB / 394.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2068/0.3771, allocations: 89.08 MB / 483.8 MB, free: 4.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.3774, allocations: 85.75 kB / 483.9 MB, free: 4.121 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.03461/0.412, allocations: 14.71 MB / 498.6 MB, free: 7.848 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.412, allocations: 8 kB / 498.6 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.4123, allocations: 107 kB / 498.7 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.413, allocations: 0.4979 MB / 499.2 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.4131, allocations: 23.94 kB / 499.2 MB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.4132, allocations: 43.98 kB / 499.3 MB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007145/0.4139, allocations: 430.9 kB / 499.7 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008749/0.4148, allocations: 0.575 MB / 0.4885 GB, free: 6.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.4148, allocations: 8 kB / 0.4886 GB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.4149, allocations: 5.406 kB / 0.4886 GB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.4149, allocations: 16 kB / 0.4886 GB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/0.4179, allocations: 2.286 MB / 0.4908 GB, free: 4.586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.4184, allocations: 383.9 kB / 0.4912 GB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.4188, allocations: 256 kB / 0.4914 GB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.4188, allocations: 4 kB / 0.4914 GB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003666/0.4192, allocations: 281.9 kB / 0.4917 GB, free: 3.918 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 1.723e-06/0.4192, allocations: 4 kB / 0.4917 GB, free: 3.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006617/0.4199, allocations: 408.1 kB / 0.4921 GB, free: 3.605 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.42, allocations: 162.7 kB / 0.4922 GB, free: 3.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.4204, allocations: 373.9 kB / 0.4926 GB, free: 3.125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.4204, allocations: 33.08 kB / 0.4926 GB, free: 3.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.4206, allocations: 273.9 kB / 0.4929 GB, free: 2.844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/0.4207, allocations: 148.1 kB / 0.493 GB, free: 2.719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.4207, allocations: 0 / 0.493 GB, free: 2.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4208, allocations: 367.9 kB / 0.4934 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.4211, allocations: 152.6 kB / 0.4935 GB, free: 2.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.4214, allocations: 317.6 kB / 0.4938 GB, free: 1.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.4217, allocations: 178.7 kB / 0.494 GB, free: 1.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4217, allocations: 0 / 0.494 GB, free: 1.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007583/0.4225, allocations: 0.5194 MB / 0.4945 GB, free: 1.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004581/0.423, allocations: 1.657 MB / 0.4961 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.423, allocations: 7.906 kB / 0.4961 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.4232, allocations: 75.55 kB / 0.4962 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.4236, allocations: 106.9 kB / 0.4963 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.425, allocations: 1.551 MB / 0.4978 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.4254, allocations: 83.61 kB / 0.4979 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.4255, allocations: 23.5 kB / 0.4979 GB, free: 13.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-06/0.4255, allocations: 0 / 0.4979 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000665/0.4262, allocations: 452.2 kB / 0.4984 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4262, allocations: 5.797 kB / 0.4984 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.4264, allocations: 77.08 kB / 0.4984 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.4267, allocations: 91.33 kB / 0.4985 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.428, allocations: 1.552 MB / 0.5 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.4284, allocations: 67.72 kB / 0.5001 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.4284, allocations: 26.48 kB / 0.5001 GB, free: 11.89 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.0001339/0.4285, allocations: 131.5 kB / 0.5003 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.4286, allocations: 55.34 kB / 0.5003 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.4287, allocations: 53.7 kB / 0.5004 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4287, allocations: 4 kB / 0.5004 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4288, allocations: 3.906 kB / 0.5004 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4288, allocations: 8 kB / 0.5004 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.4303, allocations: 1.198 MB / 0.5015 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4304, allocations: 0 / 0.5015 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.4306, allocations: 54.53 kB / 0.5016 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/0.4308, allocations: 66.06 kB / 0.5017 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.4309, allocations: 14.45 kB / 0.5017 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.4323, allocations: 1.533 MB / 0.5032 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4323, allocations: 5.469 kB / 0.5032 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001005/0.4333, allocations: 0.7458 MB / 0.5039 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001361/0.4347, allocations: 1.345 MB / 0.5052 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.4349, allocations: 176.3 kB / 0.5054 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.321e-05/0.435, allocations: 8.172 kB / 0.5054 GB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.4353, allocations: 39.97 kB / 0.5054 GB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.4354, allocations: 40.36 kB / 0.5055 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.4355, allocations: 16 kB / 0.5055 GB, free: 6.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002919/0.4358, allocations: 283.2 kB / 0.5057 GB, free: 6.605 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001934/0.4377, allocations: 278.9 kB / 0.506 GB, free: 6.332 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.000172/0.4379, allocations: 129.1 kB / 0.5061 GB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.4391, allocations: 0.8779 MB / 0.507 GB, free: 5.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4391, allocations: 0 / 0.507 GB, free: 5.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.4395, allocations: 323.2 kB / 0.5073 GB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.4399, allocations: 67.05 kB / 0.5074 GB, free: 4.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.4416, allocations: 0.8862 MB / 0.5082 GB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/0.4422, allocations: 0.9954 MB / 0.5092 GB, free: 2.977 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4422, allocations: 0.5625 kB / 0.5092 GB, free: 2.977 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat