Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",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.001521/0.001521, allocations: 200.4 kB / 8.54 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.202/1.202, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009306/0.0009305, allocations: 96.12 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0925/0.09346, allocations: 56.91 MB / 343.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08261/0.1761, allocations: 51.47 MB / 394.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.3802, allocations: 82.55 MB / 477.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.3804, allocations: 78.45 kB / 477.3 MB, free: 10.22 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.02414/0.4046, allocations: 10.96 MB / 488.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.4046, allocations: 16 kB / 488.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006528/0.4053, allocations: 107.3 kB / 488.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.4056, allocations: 302 kB / 488.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4056, allocations: 12 kB / 488.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.4057, allocations: 20 kB / 488.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003416/0.406, allocations: 210.2 kB / 488.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.4064, allocations: 286.4 kB / 489.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4065, allocations: 1.438 kB / 489.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.4065, allocations: 0 / 489.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4065, allocations: 12 kB / 489.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.4083, allocations: 1.307 MB / 490.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.4086, allocations: 143.2 kB / 490.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4087, allocations: 65.28 kB / 490.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009569/0.4096, allocations: 1.197 MB / 491.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.4097, allocations: 38.47 kB / 492 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.4097, allocations: 0 / 492 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002848/0.41, allocations: 127.9 kB / 492.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.41, allocations: 81.11 kB / 492.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.4102, allocations: 237.5 kB / 492.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.4103, allocations: 25.7 kB / 492.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.4104, allocations: 214.6 kB / 492.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.4104, allocations: 55.09 kB / 492.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/0.4104, allocations: 1.031 kB / 492.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.4106, allocations: 333.3 kB / 493 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.4107, allocations: 54.62 kB / 493.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.4108, allocations: 166.7 kB / 493.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.4109, allocations: 76.3 kB / 493.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.411, allocations: 1.031 kB / 493.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003596/0.4113, allocations: 225.5 kB / 493.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.4113, allocations: 8 kB / 493.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4113, allocations: 4 kB / 493.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4114, allocations: 8 kB / 493.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.4117, allocations: 86.38 kB / 493.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4117, allocations: 11.98 kB / 493.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.4119, allocations: 27.69 kB / 493.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.4119, allocations: 15.5 kB / 493.7 MB, free: 12.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.412, allocations: 112.9 kB / 493.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.4121, allocations: 27.7 kB / 493.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.4122, allocations: 32.45 kB / 493.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4122, allocations: 4 kB / 493.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4122, allocations: 1.75 kB / 493.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4122, allocations: 7.984 kB / 493.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.4127, allocations: 435.8 kB / 494.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4127, allocations: 3.938 kB / 494.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.413, allocations: 43.83 kB / 494.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.413, allocations: 4 kB / 494.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.413, allocations: 3.984 kB / 494.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.413, allocations: 336 / 494.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.413, allocations: 0 / 494.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003363/0.4134, allocations: 382 kB / 494.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004964/0.4139, allocations: 0.7837 MB / 495.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.414, allocations: 112.3 kB / 495.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.414, allocations: 4 kB / 495.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.4142, allocations: 11.98 kB / 495.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.4143, allocations: 7.984 kB / 495.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.4143, allocations: 7.5 kB / 495.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001626/0.4145, allocations: 185.7 kB / 495.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009925/0.4155, allocations: 83.88 kB / 495.9 MB, free: 10.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001657/0.4157, allocations: 122.8 kB / 496.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.4159, allocations: 135.9 kB / 496.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4159, allocations: 0 / 496.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.043e-05/0.416, allocations: 46.73 kB / 496.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.4162, allocations: 25.02 kB / 496.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008435/0.4171, allocations: 447 kB / 496.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.4175, allocations: 0.8098 MB / 497.5 MB, free: 8.895 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4175, allocations: 0 / 497.5 MB, free: 8.895 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat