Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 176.1 kB / 8.477 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 1.036/1.036, allocations: 205.2 MB / 214.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 95.23 kB / 262.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08346/0.08439, allocations: 53 MB / 315.1 MB, free: 8.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.2553, allocations: 47.56 MB / 362.6 MB, free: 45.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08757/0.343, allocations: 86.88 MB / 449.5 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.3432, allocations: 95.92 kB / 449.6 MB, free: 14.9 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.03522/0.3784, allocations: 13.75 MB / 463.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3785, allocations: 8 kB / 463.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.3786, allocations: 86.98 kB / 463.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007617/0.3794, allocations: 482 kB / 463.9 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.3795, allocations: 27.89 kB / 464 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/0.3795, allocations: 36 kB / 464 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007788/0.3803, allocations: 414.5 kB / 464.4 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009075/0.3812, allocations: 0.5379 MB / 464.9 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3813, allocations: 7.938 kB / 465 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.3813, allocations: 0 / 465 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.3814, allocations: 16 kB / 465 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.3846, allocations: 2.207 MB / 467.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.3852, allocations: 355.6 kB / 467.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.3857, allocations: 238.8 kB / 467.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.3857, allocations: 4 kB / 467.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003656/0.3861, allocations: 263.5 kB / 468 MB, free: 12.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 1.834e-06/0.3861, allocations: 4 kB / 468 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006868/0.3868, allocations: 388.6 kB / 468.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.3869, allocations: 140.5 kB / 468.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.3873, allocations: 357 kB / 468.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.3873, allocations: 29.7 kB / 468.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.3875, allocations: 260.2 kB / 469.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3876, allocations: 138 kB / 469.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.3876, allocations: 4.875 kB / 469.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3878, allocations: 362.8 kB / 469.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.388, allocations: 145.3 kB / 469.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.3883, allocations: 296.2 kB / 470.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3886, allocations: 164.7 kB / 470.3 MB, free: 9.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3886, allocations: 0 / 470.3 MB, free: 9.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007997/0.3894, allocations: 0.4991 MB / 470.8 MB, free: 9.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005178/0.39, allocations: 1.653 MB / 472.4 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.39, allocations: 4 kB / 472.4 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.3903, allocations: 77.67 kB / 472.5 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.3906, allocations: 103.8 kB / 472.6 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.392, allocations: 1.554 MB / 474.1 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.3924, allocations: 83.61 kB / 474.2 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.3925, allocations: 20.16 kB / 474.2 MB, free: 5.664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.14e-06/0.3925, allocations: 7.938 kB / 474.3 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006586/0.3932, allocations: 418.5 kB / 474.7 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3932, allocations: 13.2 kB / 474.7 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/0.3934, allocations: 72.83 kB / 474.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.3937, allocations: 91.83 kB / 474.8 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.395, allocations: 1.549 MB / 476.4 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.3953, allocations: 63.62 kB / 476.4 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.3954, allocations: 20 kB / 476.5 MB, free: 3.32 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: 25 ($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_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 (62): * Single equations (assignments): 61 * 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.0001373/0.3955, allocations: 140 kB / 476.6 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.3956, allocations: 47.44 kB / 476.7 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.896e-05/0.3957, allocations: 52.56 kB / 476.7 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.3957, allocations: 8 kB / 476.7 MB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.3957, allocations: 0 / 476.7 MB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3957, allocations: 4.547 kB / 476.7 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.3972, allocations: 1.12 MB / 477.8 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3972, allocations: 3.906 kB / 477.8 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.3975, allocations: 60 kB / 477.9 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001939/0.3977, allocations: 68.83 kB / 478 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.3977, allocations: 7.984 kB / 478 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.399, allocations: 1.533 MB / 479.5 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.399, allocations: 0 / 479.5 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009331/0.3999, allocations: 0.7067 MB / 480.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001306/0.4013, allocations: 1.283 MB / 481.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.4015, allocations: 160.4 kB / 481.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.4015, allocations: 7.906 kB / 481.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.4019, allocations: 43.95 kB / 481.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.402, allocations: 31.95 kB / 481.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.402, allocations: 16.17 kB / 481.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002685/0.4023, allocations: 267.2 kB / 482 MB, free: 13.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001888/0.4042, allocations: 267 kB / 482.3 MB, free: 13.26 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,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: 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 (40): * Single equations (assignments): 34 * 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.0001673/0.4044, allocations: 136.8 kB / 482.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.4055, allocations: 0.8256 MB / 483.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4055, allocations: 4 kB / 483.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.4059, allocations: 313.8 kB / 483.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.4063, allocations: 69.62 kB / 483.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.408, allocations: 0.8492 MB / 484.5 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.4086, allocations: 0.9651 MB / 485.4 MB, free: 10 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4086, allocations: 0 / 485.4 MB, free: 10 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat