Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 179.1 kB / 8.477 MB, free: 1.883 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.098/1.098, allocations: 205.2 MB / 214.1 MB, free: 5.113 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008854/0.0008855, allocations: 93.92 kB / 262.1 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1451/0.1461, allocations: 52.96 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06025/0.2063, allocations: 47.58 MB / 362.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.4053, allocations: 80.33 MB / 443 MB, free: 10.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.4055, allocations: 75.11 kB / 443 MB, free: 10.57 MB / 314.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.0233/0.4288, allocations: 10.2 MB / 453.2 MB, free: 7.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.4288, allocations: 11.34 kB / 453.3 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005023/0.4294, allocations: 83.84 kB / 453.3 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.4297, allocations: 306.4 kB / 453.6 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4298, allocations: 15.44 kB / 453.7 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.4298, allocations: 19.12 kB / 453.7 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003434/0.4302, allocations: 207.7 kB / 453.9 MB, free: 7.145 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.4306, allocations: 282 kB / 454.2 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4306, allocations: 0 / 454.2 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.4306, allocations: 0 / 454.2 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.4306, allocations: 11.36 kB / 454.2 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.4323, allocations: 1.313 MB / 455.5 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.4325, allocations: 135.6 kB / 455.6 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.4326, allocations: 71.11 kB / 455.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005548/0.4332, allocations: 0.8688 MB / 456.5 MB, free: 5.234 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.4332, allocations: 34.38 kB / 456.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.4332, allocations: 0 / 456.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002501/0.4335, allocations: 120.3 kB / 456.7 MB, free: 5.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.658e-05/0.4335, allocations: 81.05 kB / 456.8 MB, free: 5.047 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.4337, allocations: 238 kB / 457 MB, free: 4.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.4337, allocations: 33.64 kB / 457 MB, free: 4.887 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.4338, allocations: 219.8 kB / 457.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.4338, allocations: 46.2 kB / 457.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.4338, allocations: 0 / 457.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.455e-05/0.4339, allocations: 333.3 kB / 457.6 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/0.4339, allocations: 46.34 kB / 457.7 MB, free: 4.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.902e-05/0.434, allocations: 167.9 kB / 457.8 MB, free: 4.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.4342, allocations: 80.59 kB / 457.9 MB, free: 4.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4342, allocations: 3.844 kB / 457.9 MB, free: 4.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003069/0.4345, allocations: 235.1 kB / 458.1 MB, free: 4.074 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.4345, allocations: 9.688 kB / 458.2 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4345, allocations: 3.75 kB / 458.2 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4345, allocations: 7.375 kB / 458.2 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.4348, allocations: 80.73 kB / 458.2 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4348, allocations: 11.69 kB / 458.3 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.435, allocations: 35.22 kB / 458.3 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.435, allocations: 18.95 kB / 458.3 MB, free: 4.02 MB / 314.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 5.551e-05/0.4351, allocations: 112.7 kB / 458.4 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.4352, allocations: 23.38 kB / 458.4 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.4352, allocations: 36.14 kB / 458.5 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4352, allocations: 3.906 kB / 458.5 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4352, allocations: 0 / 458.5 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4353, allocations: 0 / 458.5 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.4357, allocations: 439.7 kB / 458.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4357, allocations: 1.25 kB / 458.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.4359, allocations: 43.47 kB / 459 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4359, allocations: 1.281 kB / 459 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.436, allocations: 1.312 kB / 459 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.436, allocations: 1.281 kB / 459 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.436, allocations: 5.344 kB / 459 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002743/0.4363, allocations: 373.2 kB / 459.3 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003381/0.4366, allocations: 0.7949 MB / 460.1 MB, free: 2.598 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.4367, allocations: 104.4 kB / 460.2 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.4367, allocations: 3.984 kB / 460.2 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.4369, allocations: 15.75 kB / 460.2 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.437, allocations: 11.27 kB / 460.3 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.437, allocations: 7.828 kB / 460.3 MB, free: 2.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001153/0.4371, allocations: 179.2 kB / 460.4 MB, free: 2.383 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001/0.4381, allocations: 79.53 kB / 460.5 MB, free: 2.367 MB / 314.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.0001212/0.4383, allocations: 117.5 kB / 460.6 MB, free: 2.266 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.4385, allocations: 134.8 kB / 460.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4385, allocations: 4.25 kB / 460.8 MB, free: 2.246 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.299e-05/0.4385, allocations: 48.28 kB / 460.8 MB, free: 2.242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.4388, allocations: 21.02 kB / 460.8 MB, free: 2.234 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007564/0.4396, allocations: 451.7 kB / 461.3 MB, free: 1.934 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.4399, allocations: 0.8094 MB / 462.1 MB, free: 17.17 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4399, allocations: 0 / 462.1 MB, free: 17.17 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat