Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [: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.001679/0.001679, allocations: 186.9 kB / 8.137 MB, free: 2.223 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.096/1.096, allocations: 194.2 MB / 202.8 MB, free: 8.754 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.00163/0.00163, allocations: 119.7 kB / 247.7 MB, free: 6.215 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.366e-06/8.386e-06, allocations: 0 / 297.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2592/0.3726, allocations: 71.9 MB / 414 MB, free: 23.14 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.3729, allocations: 69.34 kB / 414 MB, free: 23.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01149/0.3844, allocations: 2.263 MB / 416.3 MB, free: 21.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.3845, allocations: 0 / 416.3 MB, free: 21.29 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007217/0.3852, allocations: 423.2 kB / 416.7 MB, free: 20.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3853, allocations: 8.031 kB / 416.7 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.891e-05/0.3854, allocations: 15.81 kB / 416.7 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3856, allocations: 198 kB / 416.9 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.3856, allocations: 4.188 kB / 416.9 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.3857, allocations: 11.94 kB / 416.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002207/0.3859, allocations: 51.44 kB / 417 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.3862, allocations: 114.2 kB / 417.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3863, allocations: 2 kB / 417.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.3863, allocations: 0 / 417.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3863, allocations: 3.906 kB / 417.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.3874, allocations: 473.3 kB / 417.6 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.3877, allocations: 71.31 kB / 417.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.3879, allocations: 51.5 kB / 417.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.388, allocations: 4 kB / 417.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.388, allocations: 38.06 kB / 417.7 MB, free: 19.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.525e-06/0.388, allocations: 0 / 417.7 MB, free: 19.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.000632/0.3887, allocations: 112 kB / 417.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3887, allocations: 110.8 kB / 417.9 MB, free: 19.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3889, allocations: 135.9 kB / 418.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3889, allocations: 25.7 kB / 418.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.389, allocations: 114.8 kB / 418.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.389, allocations: 30.36 kB / 418.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.389, allocations: 1.75 kB / 418.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.856e-05/0.3891, allocations: 318.8 kB / 418.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.3892, allocations: 22.81 kB / 418.6 MB, free: 19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.925e-05/0.3893, allocations: 55.97 kB / 418.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.904e-05/0.3894, allocations: 36.33 kB / 418.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3894, allocations: 0 / 418.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002894/0.3897, allocations: 102.8 kB / 418.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3897, allocations: 5.094 kB / 418.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.3898, allocations: 4 kB / 418.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3898, allocations: 1.078 kB / 418.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.3915, allocations: 161.5 kB / 418.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.393, allocations: 1.342 MB / 420.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.3933, allocations: 23.86 kB / 420.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3933, allocations: 3.062 kB / 420.3 MB, free: 17.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.33e-05/0.3934, allocations: 108.9 kB / 420.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.3935, allocations: 15.81 kB / 420.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.3941, allocations: 126.1 kB / 420.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3941, allocations: 4 kB / 420.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.3941, allocations: 0 / 420.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3941, allocations: 0 / 420.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008563/0.395, allocations: 407.4 kB / 420.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.395, allocations: 1.562 kB / 420.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.3952, allocations: 19.98 kB / 421 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.3957, allocations: 59.91 kB / 421 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3957, allocations: 0 / 421 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.3972, allocations: 1.305 MB / 422.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.3972, allocations: 0 / 422.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000616/0.3978, allocations: 270.3 kB / 422.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.3979, allocations: 85.02 kB / 422.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.398, allocations: 0 / 422.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.3983, allocations: 23.2 kB / 422.7 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.3983, allocations: 7.984 kB / 422.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3983, allocations: 6 kB / 422.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001072/0.3985, allocations: 118.1 kB / 422.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005867/0.3991, allocations: 35.94 kB / 422.9 MB, free: 14.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001332/0.3992, allocations: 97.88 kB / 423 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.4012, allocations: 195.5 kB / 423.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4012, allocations: 0 / 423.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.4015, allocations: 136.6 kB / 423.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.4018, allocations: 17.33 kB / 423.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.4027, allocations: 283.7 kB / 423.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.403, allocations: 0.739 MB / 424.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of SimCode: time 9.31e-07/0.403, allocations: 0 / 424.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of Templates: time 0.005792/0.4088, allocations: 1.38 MB / 425.7 MB, free: 11.77 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1)