Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001084/0.001084, allocations: 199.7 kB / 8.538 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.167/1.167, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008372/0.0008373, allocations: 95.5 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09204/0.0929, allocations: 56.92 MB / 343.3 MB, free: 8.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08192/0.1748, allocations: 51.47 MB / 394.7 MB, free: 5.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2194/0.3942, allocations: 100.8 MB / 495.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.3945, allocations: 90 kB / 495.6 MB, free: 8.332 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.8716/1.266, allocations: 331.6 MB / 0.8078 GB, free: 41.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/1.266, allocations: 18.25 kB / 0.8078 GB, free: 41.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02343/1.29, allocations: 3.898 MB / 0.8116 GB, free: 41.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/1.302, allocations: 6.03 MB / 0.8175 GB, free: 40.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004219/1.302, allocations: 280.7 kB / 0.8178 GB, free: 40.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002073/1.304, allocations: 0.492 MB / 0.8183 GB, free: 40.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02099/1.325, allocations: 11.58 MB / 0.8296 GB, free: 40.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/1.348, allocations: 13.19 MB / 0.8425 GB, free: 37.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002305/1.348, allocations: 15 kB / 0.8425 GB, free: 37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001273/1.349, allocations: 6.594 kB / 0.8425 GB, free: 37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005369/1.35, allocations: 0.713 MB / 0.8432 GB, free: 36.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05759/1.407, allocations: 44.18 MB / 0.8863 GB, free: 7.133 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005819/1.413, allocations: 5.15 MB / 0.8913 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.417, allocations: 3.271 MB / 0.8945 GB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004219/1.418, allocations: 262.9 kB / 0.8948 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/1.418, allocations: 78.56 kB / 0.8949 GB, free: 15.51 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 6.422e-06/1.418, allocations: 0 / 0.8949 GB, free: 15.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.01154/1.429, allocations: 6.513 MB / 0.9012 GB, free: 10.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/1.429, allocations: 128 kB / 0.9014 GB, free: 9.883 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003596/1.433, allocations: 2.661 MB / 0.904 GB, free: 7.555 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002391/1.433, allocations: 29.7 kB / 0.904 GB, free: 7.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/1.435, allocations: 3.387 MB / 0.9073 GB, free: 4.531 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/1.436, allocations: 1.379 MB / 0.9086 GB, free: 3.266 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/1.436, allocations: 0 / 0.9086 GB, free: 3.266 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003247/1.437, allocations: 0.5421 MB / 0.9092 GB, free: 2.785 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004104/1.441, allocations: 3.085 MB / 0.9122 GB, free: 84 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2562/1.697, allocations: 5.448 MB / 0.9175 GB, free: 94.78 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006145/1.703, allocations: 4.411 MB / 0.9218 GB, free: 94.72 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-05/1.703, allocations: 20.69 kB / 0.9218 GB, free: 94.72 MB / 458.8 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.0141/1.717, allocations: 9.327 MB / 0.9309 GB, free: 94.55 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.717, allocations: 3.312 kB / 0.9309 GB, free: 94.55 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.857e-05/1.718, allocations: 66.91 kB / 0.931 GB, free: 94.55 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/1.72, allocations: 1.103 MB / 0.9321 GB, free: 94.54 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004586/1.725, allocations: 1.27 MB / 0.9333 GB, free: 94.54 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/1.736, allocations: 9.067 MB / 0.9422 GB, free: 92.01 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003862/1.74, allocations: 0.5932 MB / 0.9428 GB, free: 91.92 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000521/1.741, allocations: 281.6 kB / 0.943 GB, free: 91.92 MB / 458.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.0007281/1.741, allocations: 288.2 kB / 0.9433 GB, free: 91.81 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005254/1.742, allocations: 350.6 kB / 0.9436 GB, free: 91.63 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/1.754, allocations: 7.622 MB / 0.9511 GB, free: 91.34 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00932/1.764, allocations: 6.25 MB / 0.9572 GB, free: 91.13 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.988e-05/1.764, allocations: 14.06 kB / 0.9572 GB, free: 91.13 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.405e-05/1.764, allocations: 21.84 kB / 0.9572 GB, free: 91.13 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/1.785, allocations: 14.93 MB / 0.9718 GB, free: 89.81 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.785, allocations: 11.59 kB / 0.9718 GB, free: 89.81 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/1.789, allocations: 0.7759 MB / 0.9726 GB, free: 89.81 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002732/1.791, allocations: 1.024 MB / 0.9736 GB, free: 89.77 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003384/1.792, allocations: 52.73 kB / 0.9736 GB, free: 89.77 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.802, allocations: 8.875 MB / 0.9823 GB, free: 87.02 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/1.802, allocations: 21.69 kB / 0.9823 GB, free: 87.02 MB / 458.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01563/1.818, allocations: 12.98 MB / 0.995 GB, free: 83.03 MB / 458.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0275/1.845, allocations: 26.02 MB / 1.02 GB, free: 71.2 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002176/1.847, allocations: 1.062 MB / 1.021 GB, free: 70.69 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007862/1.848, allocations: 20.5 kB / 1.021 GB, free: 70.69 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.851, allocations: 176.2 kB / 1.022 GB, free: 70.69 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004685/1.851, allocations: 279.1 kB / 1.022 GB, free: 70.63 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003802/1.852, allocations: 143.4 kB / 1.022 GB, free: 70.6 MB / 458.8 MB Notification: Performance of sort global known variables: time 0.002511/1.854, allocations: 1.966 MB / 1.024 GB, free: 69.86 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00653/1.861, allocations: 2.076 MB / 1.026 GB, free: 69.41 MB / 458.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.0005773/1.861, allocations: 244.6 kB / 1.026 GB, free: 69.23 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.009554/1.871, allocations: 7.667 MB / 1.034 GB, free: 62.45 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.871, allocations: 8.125 kB / 1.034 GB, free: 62.45 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004729/1.876, allocations: 3.71 MB / 1.037 GB, free: 59.12 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/1.878, allocations: 0.5801 MB / 1.038 GB, free: 58.68 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/1.899, allocations: 13.96 MB / 1.052 GB, free: 46.09 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006298/1.906, allocations: 6.412 MB / 1.058 GB, free: 41.12 MB / 458.8 MB Notification: Performance of SimCode: time 4.81e-07/1.906, allocations: 0 / 1.058 GB, free: 41.12 MB / 458.8 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)