Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [: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.2+maint.om/package.mo): time 0.001984/0.001984, allocations: 189.9 kB / 8.137 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.295/1.295, allocations: 194.2 MB / 202.8 MB, free: 8.645 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001897/0.001897, allocations: 121.3 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.681e-06/5.791e-06, allocations: 0 / 297.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07166/0.07168, allocations: 44.48 MB / 342.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2026/0.2743, allocations: 76.05 MB / 418.1 MB, free: 19.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001631/0.2745, allocations: 80.44 kB / 418.2 MB, free: 18.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02218/0.2967, allocations: 9.314 MB / 427.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.2968, allocations: 5.312 kB / 427.5 MB, free: 11.59 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.001012/0.2978, allocations: 0.6565 MB / 428.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2978, allocations: 8.031 kB / 428.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005588/0.2984, allocations: 83.28 kB / 428.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.2988, allocations: 299.2 kB / 428.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2988, allocations: 12 kB / 428.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.2989, allocations: 21.62 kB / 428.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003655/0.2992, allocations: 199.7 kB / 428.8 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.2997, allocations: 288.2 kB / 429 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.2997, allocations: 3.938 kB / 429.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.2998, allocations: 4.781 kB / 429.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.2998, allocations: 8 kB / 429.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.3018, allocations: 1.308 MB / 430.4 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.302, allocations: 135.3 kB / 430.5 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.662e-05/0.3022, allocations: 77.67 kB / 430.6 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00063/0.3028, allocations: 0.8584 MB / 431.4 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.3028, allocations: 38.56 kB / 431.5 MB, free: 7.848 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.3028, allocations: 1.875 kB / 431.5 MB, free: 7.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003156/0.3031, allocations: 128.8 kB / 431.6 MB, free: 7.738 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.3032, allocations: 77.11 kB / 431.7 MB, free: 7.645 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.3034, allocations: 233.7 kB / 431.9 MB, free: 7.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3034, allocations: 25.7 kB / 431.9 MB, free: 7.414 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.3035, allocations: 220.4 kB / 432.1 MB, free: 7.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.3035, allocations: 58.08 kB / 432.2 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.3035, allocations: 0 / 432.2 MB, free: 7.164 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.041e-05/0.3036, allocations: 333.1 kB / 432.5 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.3037, allocations: 47.25 kB / 432.6 MB, free: 6.812 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3038, allocations: 172.7 kB / 432.7 MB, free: 6.609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.3039, allocations: 67.72 kB / 432.8 MB, free: 6.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3039, allocations: 0 / 432.8 MB, free: 6.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003169/0.3042, allocations: 247.5 kB / 433.1 MB, free: 6.359 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.3043, allocations: 5.094 kB / 433.1 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3043, allocations: 4.562 kB / 433.1 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3043, allocations: 12 kB / 433.1 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.3046, allocations: 75.89 kB / 433.1 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3046, allocations: 7.938 kB / 433.2 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.3048, allocations: 35.59 kB / 433.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3048, allocations: 15.69 kB / 433.2 MB, free: 6.211 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.574e-05/0.3049, allocations: 116.7 kB / 433.3 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.305, allocations: 23.72 kB / 433.3 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.305, allocations: 28.86 kB / 433.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.305, allocations: 0 / 433.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.305, allocations: 4 kB / 433.4 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3051, allocations: 3.906 kB / 433.4 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.3055, allocations: 443 kB / 433.8 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3055, allocations: 8.031 kB / 433.8 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.3058, allocations: 39.97 kB / 433.9 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3058, allocations: 4 kB / 433.9 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3058, allocations: 0 / 433.9 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3058, allocations: 4 kB / 433.9 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3058, allocations: 3.938 kB / 433.9 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002806/0.3061, allocations: 370.7 kB / 434.2 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.3061, allocations: 100.8 kB / 434.3 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.3062, allocations: 4.375 kB / 434.3 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.3064, allocations: 24.98 kB / 434.4 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.3065, allocations: 7.984 kB / 434.4 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3065, allocations: 4 kB / 434.4 MB, free: 5.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001548/0.3067, allocations: 182.6 kB / 434.5 MB, free: 4.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004295/0.3071, allocations: 75.69 kB / 434.6 MB, free: 4.855 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.000168/0.3073, allocations: 111.2 kB / 434.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.3075, allocations: 134.8 kB / 434.9 MB, free: 4.637 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3075, allocations: 0 / 434.9 MB, free: 4.637 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.3076, allocations: 53.62 kB / 434.9 MB, free: 4.602 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.3079, allocations: 24.83 kB / 434.9 MB, free: 4.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009721/0.3089, allocations: 441.7 kB / 435.4 MB, free: 4.156 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.3092, allocations: 0.7982 MB / 436.2 MB, free: 3.332 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3092, allocations: 0 / 436.2 MB, free: 3.332 MB / 314.7 MB Notification: Performance of Templates: time 0.005127/0.3143, allocations: 1.973 MB / 438.1 MB, free: 1.426 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)