Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",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.00106/0.00106, allocations: 202.3 kB / 8.541 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.145/1.145, allocations: 225.5 MB / 234.4 MB, free: 3.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009418/0.0009418, allocations: 94.22 kB / 286.3 MB, free: 5.164 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09728/0.09826, allocations: 56.93 MB / 343.3 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08292/0.1812, allocations: 51.46 MB / 394.7 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2202/0.4014, allocations: 82.13 MB / 476.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.4017, allocations: 83.3 kB / 476.9 MB, free: 10.75 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.01725/0.419, allocations: 7.793 MB / 484.7 MB, free: 4.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.419, allocations: 16 kB / 484.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.4192, allocations: 67.33 kB / 484.8 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.4196, allocations: 371.1 kB / 485.2 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.4197, allocations: 16 kB / 485.2 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.4197, allocations: 24 kB / 485.2 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004669/0.4202, allocations: 275 kB / 485.5 MB, free: 4.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.4207, allocations: 386 kB / 485.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4208, allocations: 0 / 485.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.4208, allocations: 3.906 kB / 485.9 MB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.4208, allocations: 12 kB / 485.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.4226, allocations: 1.768 MB / 487.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.4231, allocations: 313 kB / 487.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.4233, allocations: 195.4 kB / 488.1 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.4234, allocations: 8.312 kB / 488.1 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.4236, allocations: 226 kB / 488.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.4236, allocations: 0 / 488.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006485/0.4243, allocations: 395.4 kB / 488.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.4243, allocations: 88.47 kB / 488.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.4246, allocations: 250.7 kB / 489.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.4246, allocations: 29.7 kB / 489.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.4247, allocations: 194.2 kB / 489.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.4248, allocations: 125.3 kB / 489.4 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.4248, allocations: 0 / 489.4 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.998e-05/0.4249, allocations: 347.8 kB / 489.8 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.425, allocations: 100.8 kB / 489.9 MB, free: 484 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.4252, allocations: 230.1 kB / 490.1 MB, free: 264 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.4254, allocations: 121.7 kB / 490.2 MB, free: 188 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4254, allocations: 4 kB / 490.2 MB, free: 184 kB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006947/0.4261, allocations: 459.7 kB / 490.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4261, allocations: 5.719 kB / 490.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.4262, allocations: 4 kB / 490.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000443/0.4266, allocations: 144.9 kB / 490.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.4269, allocations: 63.41 kB / 490.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.4291, allocations: 2.029 MB / 492.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.4294, allocations: 31.59 kB / 492.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.4294, allocations: 21.3 kB / 493 MB, free: 13.81 MB / 362.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: 13 ($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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.4295, allocations: 116.9 kB / 493.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.4296, allocations: 39.53 kB / 493.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.4297, allocations: 42.86 kB / 493.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4297, allocations: 4 kB / 493.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4297, allocations: 0 / 493.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.4297, allocations: 3.984 kB / 493.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.4301, allocations: 429 kB / 493.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4301, allocations: 4 kB / 493.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.4303, allocations: 39.86 kB / 493.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/0.4307, allocations: 135.1 kB / 493.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.4307, allocations: 7.984 kB / 493.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.4328, allocations: 2.025 MB / 495.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4328, allocations: 4.219 kB / 495.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008609/0.4337, allocations: 0.582 MB / 496.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001179/0.4348, allocations: 1.143 MB / 497.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.435, allocations: 154.6 kB / 497.7 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.4351, allocations: 4 kB / 497.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.4353, allocations: 11.98 kB / 497.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.4354, allocations: 27.28 kB / 497.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.4354, allocations: 11.98 kB / 497.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001925/0.4356, allocations: 193.2 kB / 497.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009862/0.4366, allocations: 132.8 kB / 498 MB, free: 9.547 MB / 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001845/0.4368, allocations: 118.1 kB / 498.1 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000765/0.4375, allocations: 451.7 kB / 498.6 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4376, allocations: 0 / 498.6 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.438, allocations: 307.3 kB / 498.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.4383, allocations: 52.38 kB / 498.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.4397, allocations: 0.5921 MB / 499.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.4401, allocations: 0.8706 MB / 0.4887 GB, free: 7.359 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4401, allocations: 0 / 0.4887 GB, free: 7.359 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat