Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",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 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 181.5 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.4 MB / 229.9 MB, free: 3.078 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009828, allocations: 104.4 kB / 280.8 MB, free: 1.32 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08941/0.09043, allocations: 55.83 MB / 336.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.2694, allocations: 50.39 MB / 387 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3705, allocations: 99.96 MB / 487 MB, free: 2.789 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.3708, allocations: 86.06 kB / 487.1 MB, free: 2.707 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: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.8349/1.206, allocations: 314.4 MB / 0.7827 GB, free: 20.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/1.206, allocations: 12 kB / 0.7827 GB, free: 20.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02317/1.229, allocations: 3.903 MB / 0.7865 GB, free: 16.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/1.24, allocations: 6.029 MB / 0.7924 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/1.24, allocations: 280 kB / 0.7927 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001474/1.242, allocations: 495.9 kB / 0.7931 GB, free: 9.852 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01712/1.259, allocations: 11.58 MB / 0.8044 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/1.281, allocations: 13.2 MB / 0.8173 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001853/1.281, allocations: 11.91 kB / 0.8173 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008593/1.282, allocations: 8 kB / 0.8174 GB, free: 0.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006108/1.282, allocations: 0.7177 MB / 0.8181 GB, free: 28 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2692/1.551, allocations: 43.69 MB / 0.8607 GB, free: 81.29 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005859/1.557, allocations: 5.155 MB / 0.8658 GB, free: 81.23 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003506/1.561, allocations: 3.199 MB / 0.8689 GB, free: 81.19 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003472/1.561, allocations: 187.3 kB / 0.8691 GB, free: 81.09 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/1.561, allocations: 78.91 kB / 0.8691 GB, free: 81.05 MB / 442.8 MB Notification: Performance of pre-optimization done (n=421): time 6.672e-06/1.561, allocations: 3.375 kB / 0.8691 GB, free: 81.05 MB / 442.8 MB Notification: Performance of matching and sorting (n=421): time 0.01058/1.572, allocations: 6.513 MB / 0.8755 GB, free: 80.7 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/1.572, allocations: 119.6 kB / 0.8756 GB, free: 80.61 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/1.575, allocations: 2.672 MB / 0.8782 GB, free: 80.35 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002509/1.575, allocations: 25.7 kB / 0.8782 GB, free: 80.32 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/1.577, allocations: 3.385 MB / 0.8815 GB, free: 78.36 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007819/1.577, allocations: 1.378 MB / 0.8829 GB, free: 77.46 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/1.578, allocations: 1.125 kB / 0.8829 GB, free: 77.46 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002576/1.578, allocations: 0.543 MB / 0.8834 GB, free: 77.14 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/1.582, allocations: 3.081 MB / 0.8864 GB, free: 77.12 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/1.586, allocations: 5.087 MB / 0.8914 GB, free: 74.7 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006266/1.592, allocations: 4.411 MB / 0.8957 GB, free: 74.63 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.878e-05/1.592, allocations: 20.94 kB / 0.8957 GB, free: 74.63 MB / 442.8 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.0145/1.607, allocations: 9.324 MB / 0.9048 GB, free: 72.61 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.607, allocations: 4.5 kB / 0.9048 GB, free: 72.61 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.409e-05/1.607, allocations: 67.38 kB / 0.9049 GB, free: 72.61 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003208/1.61, allocations: 1.118 MB / 0.906 GB, free: 72.4 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005032/1.615, allocations: 1.271 MB / 0.9072 GB, free: 72.35 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/1.627, allocations: 9.073 MB / 0.9161 GB, free: 67.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/1.631, allocations: 0.5904 MB / 0.9167 GB, free: 66.98 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004993/1.631, allocations: 280.3 kB / 0.9169 GB, free: 66.94 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 670 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007524/1.632, allocations: 290.4 kB / 0.9172 GB, free: 66.77 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/1.632, allocations: 345.9 kB / 0.9175 GB, free: 66.59 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.645, allocations: 7.623 MB / 0.925 GB, free: 64.05 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009529/1.655, allocations: 6.257 MB / 0.9311 GB, free: 62.05 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/1.655, allocations: 14.34 kB / 0.9311 GB, free: 62.05 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-05/1.655, allocations: 19.66 kB / 0.9311 GB, free: 62.05 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/1.676, allocations: 14.91 MB / 0.9457 GB, free: 50.81 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/1.676, allocations: 20.16 kB / 0.9457 GB, free: 50.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003408/1.68, allocations: 0.7859 MB / 0.9465 GB, free: 50.17 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002851/1.683, allocations: 1.028 MB / 0.9475 GB, free: 49.41 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003045/1.683, allocations: 47.45 kB / 0.9475 GB, free: 49.37 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/1.694, allocations: 8.864 MB / 0.9562 GB, free: 41.38 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/1.694, allocations: 24.25 kB / 0.9562 GB, free: 41.36 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01504/1.709, allocations: 12.98 MB / 0.9689 GB, free: 29.3 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02865/1.737, allocations: 26.02 MB / 0.9943 GB, free: 5.84 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/1.739, allocations: 1.065 MB / 0.9953 GB, free: 4.863 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008548/1.74, allocations: 26.61 kB / 0.9954 GB, free: 4.844 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/1.743, allocations: 179.7 kB / 0.9955 GB, free: 4.727 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004905/1.743, allocations: 280.9 kB / 0.9958 GB, free: 4.555 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003533/1.744, allocations: 143.8 kB / 0.9959 GB, free: 4.422 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.0027/1.746, allocations: 1.961 MB / 0.9979 GB, free: 2.727 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006086/1.753, allocations: 2.074 MB / 0.9999 GB, free: 0.6523 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006112/1.753, allocations: 252.2 kB / 1 GB, free: 480 kB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.1395/1.893, allocations: 7.957 MB / 1.008 GB, free: 85.67 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.893, allocations: 1.188 kB / 1.008 GB, free: 85.67 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005192/1.898, allocations: 3.712 MB / 1.012 GB, free: 85.44 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/1.901, allocations: 0.5756 MB / 1.012 GB, free: 85.43 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/1.922, allocations: 13.97 MB / 1.026 GB, free: 82.78 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006671/1.929, allocations: 6.41 MB / 1.032 GB, free: 81.89 MB / 442.8 MB Notification: Performance of SimCode: time 8.71e-07/1.929, allocations: 2.344 kB / 1.032 GB, free: 81.89 MB / 442.8 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)