Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001065, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005705/0.0005709, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2856, allocations: 47.59 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002085/0.2878, allocations: 1.61 MB / 328.1 MB, free: 140 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2889, allocations: 0.5698 MB / 328.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.2889, allocations: 1.062 kB / 328.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.523e-05/0.289, allocations: 14.09 kB / 328.6 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.2892, allocations: 49.77 kB / 328.7 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.2895, allocations: 72.97 kB / 328.8 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.2897, allocations: 121.1 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2898, allocations: 32.88 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.29, allocations: 69.88 kB / 329 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.2901, allocations: 69.38 kB / 329 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.2902, allocations: 8.281 kB / 329.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.063e-05/0.2902, allocations: 8.469 kB / 329.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.2902, allocations: 27.73 kB / 329.1 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.2903, allocations: 58.14 kB / 329.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.2905, allocations: 119.3 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2905, allocations: 0 / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2905, allocations: 0 / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2905, allocations: 0 / 329.3 MB, free: 15.23 MB / 270.1 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.0007367/0.2912, allocations: 453.8 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2913, allocations: 9.281 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.2913, allocations: 15.62 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.2915, allocations: 195 kB / 329.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2916, allocations: 11.77 kB / 329.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.2916, allocations: 10.84 kB / 329.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.2919, allocations: 149 kB / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2919, allocations: 1.281 kB / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.292, allocations: 1.156 kB / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.292, allocations: 5.906 kB / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.2923, allocations: 103.2 kB / 330.2 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009248/0.2932, allocations: 0.5063 MB / 330.7 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.2935, allocations: 107.2 kB / 330.8 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.2936, allocations: 0 / 330.8 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.2936, allocations: 43.64 kB / 330.8 MB, free: 13.82 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2936, allocations: 1.375 kB / 330.9 MB, free: 13.82 MB / 270.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004639/0.2941, allocations: 154.5 kB / 331 MB, free: 13.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.2942, allocations: 103.9 kB / 331.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.2943, allocations: 156 kB / 331.3 MB, free: 13.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.2943, allocations: 30.77 kB / 331.3 MB, free: 13.44 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.2944, allocations: 118.7 kB / 331.4 MB, free: 13.33 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.2945, allocations: 28.11 kB / 331.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.2945, allocations: 0 / 331.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2947, allocations: 322 kB / 331.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.2948, allocations: 51.84 kB / 331.8 MB, free: 12.96 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.295, allocations: 89.03 kB / 331.9 MB, free: 12.88 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.2951, allocations: 47.08 kB / 331.9 MB, free: 12.86 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2951, allocations: 0 / 331.9 MB, free: 12.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003445/0.2955, allocations: 150.4 kB / 332.1 MB, free: 12.78 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2955, allocations: 8.828 kB / 332.1 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2955, allocations: 1.125 kB / 332.1 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2956, allocations: 1.156 kB / 332.1 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.2961, allocations: 88 kB / 332.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.2975, allocations: 1.408 MB / 333.6 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2977, allocations: 25.3 kB / 333.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.2977, allocations: 3.062 kB / 333.6 MB, free: 11.28 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 0.000115/0.2978, allocations: 120.6 kB / 333.7 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.2979, allocations: 17.42 kB / 333.7 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004626/0.2983, allocations: 167.4 kB / 333.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2984, allocations: 1.031 kB / 333.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.2984, allocations: 0 / 333.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2984, allocations: 1.156 kB / 333.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.2986, allocations: 226.8 kB / 334.1 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2986, allocations: 4 kB / 334.1 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2988, allocations: 30.75 kB / 334.2 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/0.299, allocations: 30.8 kB / 334.2 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2991, allocations: 9.078 kB / 334.2 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009903/0.3001, allocations: 1.304 MB / 335.5 MB, free: 9.402 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3001, allocations: 1.375 kB / 335.5 MB, free: 9.402 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.3007, allocations: 300.1 kB / 335.8 MB, free: 9.184 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.3008, allocations: 95.09 kB / 335.9 MB, free: 9.074 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.3008, allocations: 6.188 kB / 335.9 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.301, allocations: 14.83 kB / 335.9 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.301, allocations: 7.609 kB / 335.9 MB, free: 9.062 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.301, allocations: 5.219 kB / 335.9 MB, free: 9.059 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.286e-05/0.3011, allocations: 122 kB / 336 MB, free: 8.961 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3011, allocations: 0 / 336 MB, free: 8.961 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.3014, allocations: 36.31 kB / 336.1 MB, free: 8.957 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001349/0.3016, allocations: 99.91 kB / 336.2 MB, free: 8.867 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006775/0.3022, allocations: 148.1 kB / 336.3 MB, free: 8.809 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3023, allocations: 3.938 kB / 336.3 MB, free: 8.805 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.3026, allocations: 170.8 kB / 336.5 MB, free: 8.664 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.3028, allocations: 10.14 kB / 336.5 MB, free: 8.656 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.3043, allocations: 0.6043 MB / 337.1 MB, free: 8.152 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3046, allocations: 0.716 MB / 337.8 MB, free: 7.41 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.674e-05/0.3046, allocations: 12.55 kB / 337.8 MB, free: 7.398 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.3047, allocations: 19.42 kB / 337.9 MB, free: 7.379 MB / 270.1 MB Notification: Performance of SimCode: time 2.896e-06/0.3047, allocations: 4 kB / 337.9 MB, free: 7.375 MB / 270.1 MB Notification: Performance of Templates: time 0.004185/0.3089, allocations: 1.437 MB / 339.3 MB, free: 5.941 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) Environment - environmentSimulation: