Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_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.1+maint.om/package.mo): time 0.004034/0.004034, allocations: 176.7 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.31/1.31, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001645/0.001645, allocations: 116.4 kB / 217.7 MB, free: 8.156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.615e-06/7.645e-06, allocations: 4 kB / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08828/0.0883, allocations: 38.76 MB / 300.5 MB, free: 3.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2759/0.3642, allocations: 70.03 MB / 370.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.3645, allocations: 76.14 kB / 370.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.02333/0.3878, allocations: 8.575 MB / 379.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.3879, allocations: 7.062 kB / 379.2 MB, free: 7.625 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001519/0.3895, allocations: 0.6273 MB / 379.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3895, allocations: 8.031 kB / 379.8 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003146/0.3898, allocations: 58.7 kB / 379.9 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.3904, allocations: 304.4 kB / 380.2 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3904, allocations: 12 kB / 380.2 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.3905, allocations: 16 kB / 380.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003663/0.3909, allocations: 163.6 kB / 380.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.3913, allocations: 257 kB / 380.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3913, allocations: 0 / 380.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.3914, allocations: 0 / 380.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.3914, allocations: 8 kB / 380.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.3935, allocations: 1.267 MB / 381.9 MB, free: 5.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3936, allocations: 80.11 kB / 382 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.3937, allocations: 52.66 kB / 382 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3938, allocations: 2.875 kB / 382 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.3938, allocations: 42.47 kB / 382.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 3.456e-06/0.3938, allocations: 0 / 382.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003134/0.3941, allocations: 124.3 kB / 382.2 MB, free: 4.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.3942, allocations: 81.11 kB / 382.3 MB, free: 4.742 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.3945, allocations: 226.4 kB / 382.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.3945, allocations: 29.7 kB / 382.5 MB, free: 4.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3946, allocations: 200.5 kB / 382.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.3947, allocations: 46.05 kB / 382.8 MB, free: 4.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.3947, allocations: 0 / 382.8 MB, free: 4.297 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3948, allocations: 336.6 kB / 383.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.3949, allocations: 41.75 kB / 383.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.3951, allocations: 145.1 kB / 383.3 MB, free: 3.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.3952, allocations: 70.03 kB / 383.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3952, allocations: 448 / 383.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003612/0.3956, allocations: 205.6 kB / 383.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3956, allocations: 11.94 kB / 383.6 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3956, allocations: 11.98 kB / 383.6 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3957, allocations: 8.031 kB / 383.6 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.396, allocations: 71.84 kB / 383.6 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.396, allocations: 12 kB / 383.7 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.3962, allocations: 27.69 kB / 383.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.3962, allocations: 19.92 kB / 383.7 MB, free: 3.402 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 0.0001243/0.3963, allocations: 112.9 kB / 383.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.3964, allocations: 23.72 kB / 383.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.3965, allocations: 24.45 kB / 383.9 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3965, allocations: 4 kB / 383.9 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3965, allocations: 3.906 kB / 383.9 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3965, allocations: 0 / 383.9 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005817/0.3971, allocations: 442 kB / 384.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3971, allocations: 4 kB / 384.3 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.3973, allocations: 39.91 kB / 384.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.3973, allocations: 4 kB / 384.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3974, allocations: 0 / 384.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3974, allocations: 4 kB / 384.3 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3974, allocations: 0 / 384.3 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004126/0.3978, allocations: 374.4 kB / 384.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3979, allocations: 116.6 kB / 384.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.398, allocations: 3.938 kB / 384.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3982, allocations: 20.05 kB / 384.8 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.3983, allocations: 11.89 kB / 384.9 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3983, allocations: 4 kB / 384.9 MB, free: 2.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0001618/0.3984, allocations: 173.1 kB / 385 MB, free: 2.133 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004054/0.3988, allocations: 75.62 kB / 385.1 MB, free: 2.062 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * 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.0002307/0.3991, allocations: 115.3 kB / 385.2 MB, free: 1.938 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.3993, allocations: 123.9 kB / 385.3 MB, free: 1.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3993, allocations: 4.312 kB / 385.3 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.724e-05/0.3994, allocations: 45.69 kB / 385.4 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3997, allocations: 22.98 kB / 385.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009953/0.4007, allocations: 429.6 kB / 385.8 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.4012, allocations: 0.8048 MB / 386.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4012, allocations: 0 / 386.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of Templates: time 0.005973/0.4072, allocations: 1.908 MB / 388.5 MB, free: 14.64 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)