Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",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.001085/0.001086, allocations: 195.5 kB / 8.538 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.153/1.153, allocations: 225.5 MB / 234.4 MB, free: 14.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 100.2 kB / 286.3 MB, free: 12.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1171/0.1182, allocations: 56.91 MB / 343.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.3055, allocations: 51.45 MB / 394.7 MB, free: 33.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08949/0.395, allocations: 85.15 MB / 479.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.3953, allocations: 84.97 kB / 479.9 MB, free: 11.8 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.05512/0.4504, allocations: 22.63 MB / 0.4908 GB, free: 4.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4505, allocations: 8 kB / 0.4908 GB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007257/0.4512, allocations: 230.1 kB / 0.491 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.4527, allocations: 0.9765 MB / 0.492 GB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.4527, allocations: 32 kB / 0.492 GB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.4529, allocations: 60 kB / 0.4921 GB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001929/0.4548, allocations: 1.246 MB / 0.4933 GB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.4567, allocations: 1.345 MB / 0.4946 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.4568, allocations: 15.84 kB / 0.4946 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/0.4569, allocations: 0 / 0.4946 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-05/0.4569, allocations: 46.03 kB / 0.4947 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1587/0.6157, allocations: 4.827 MB / 0.4994 GB, free: 66.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008478/0.6165, allocations: 0.8355 MB / 0.5002 GB, free: 66.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008056/0.6174, allocations: 0.7119 MB / 0.5009 GB, free: 66.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.6174, allocations: 12.31 kB / 0.5009 GB, free: 66.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005935/0.618, allocations: 0.54 MB / 0.5014 GB, free: 66.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 1.983e-06/0.618, allocations: 3.312 kB / 0.5014 GB, free: 66.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001532/0.6196, allocations: 1.147 MB / 0.5025 GB, free: 66.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.6196, allocations: 93.23 kB / 0.5026 GB, free: 66.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.6204, allocations: 0.7828 MB / 0.5034 GB, free: 66.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.6204, allocations: 25.7 kB / 0.5034 GB, free: 66.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.6206, allocations: 411.7 kB / 0.5038 GB, free: 66.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.6208, allocations: 220.6 kB / 0.504 GB, free: 66.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.6208, allocations: 3.375 kB / 0.504 GB, free: 66.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.6209, allocations: 333.5 kB / 0.5043 GB, free: 65.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/0.6213, allocations: 379.5 kB / 0.5047 GB, free: 65.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.6218, allocations: 0.5072 MB / 0.5052 GB, free: 65.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.6222, allocations: 411.8 kB / 0.5056 GB, free: 65.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6222, allocations: 0 / 0.5056 GB, free: 65.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001367/0.6236, allocations: 1.18 MB / 0.5067 GB, free: 65.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.6236, allocations: 2.875 kB / 0.5067 GB, free: 65.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6236, allocations: 5.938 kB / 0.5068 GB, free: 65.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007404/0.6244, allocations: 397.7 kB / 0.5071 GB, free: 65.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.6249, allocations: 126.2 kB / 0.5073 GB, free: 65.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/0.6284, allocations: 3.697 MB / 0.5109 GB, free: 64.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.6289, allocations: 68.98 kB / 0.5109 GB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.629, allocations: 22.44 kB / 0.511 GB, free: 64.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.6291, allocations: 129 kB / 0.5111 GB, free: 64.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.6292, allocations: 95.88 kB / 0.5112 GB, free: 64.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.6294, allocations: 104.8 kB / 0.5113 GB, free: 64.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.6294, allocations: 6.875 kB / 0.5113 GB, free: 64.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6295, allocations: 0 / 0.5113 GB, free: 64.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.6295, allocations: 7.281 kB / 0.5113 GB, free: 64.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.6321, allocations: 2.336 MB / 0.5136 GB, free: 63.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6321, allocations: 2.562 kB / 0.5136 GB, free: 63.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.6326, allocations: 88.19 kB / 0.5136 GB, free: 63.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000679/0.6332, allocations: 398.1 kB / 0.514 GB, free: 63.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.6333, allocations: 6.812 kB / 0.514 GB, free: 63.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003952/0.6373, allocations: 3.647 MB / 0.5176 GB, free: 62.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6373, allocations: 0 / 0.5176 GB, free: 62.45 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002168/0.6395, allocations: 1.846 MB / 0.5194 GB, free: 62.24 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002917/0.6424, allocations: 2.88 MB / 0.5222 GB, free: 61.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/0.6428, allocations: 285.5 kB / 0.5225 GB, free: 61.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.6429, allocations: 0 / 0.5225 GB, free: 61.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.6434, allocations: 41.33 kB / 0.5225 GB, free: 61.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.6435, allocations: 57.55 kB / 0.5226 GB, free: 61.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.6436, allocations: 23.36 kB / 0.5226 GB, free: 61.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000624/0.6442, allocations: 0.6161 MB / 0.5232 GB, free: 60.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001316/0.6455, allocations: 309.4 kB / 0.5235 GB, free: 60.5 MB / 378.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.6457, allocations: 135.3 kB / 0.5236 GB, free: 60.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.6472, allocations: 1.115 MB / 0.5247 GB, free: 59.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6472, allocations: 0 / 0.5247 GB, free: 59.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008082/0.648, allocations: 0.6816 MB / 0.5254 GB, free: 59.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007347/0.6487, allocations: 197.6 kB / 0.5256 GB, free: 59.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.6517, allocations: 1.886 MB / 0.5274 GB, free: 57.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007968/0.6525, allocations: 1.446 MB / 0.5288 GB, free: 56.7 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6525, allocations: 2.844 kB / 0.5288 GB, free: 56.7 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat