Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.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.0009153/0.0009154, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00585/0.00585, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004511/0.0004512, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2675, allocations: 47.59 MB / 327 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.001994/0.2695, allocations: 1.72 MB / 328.7 MB, free: 64 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2706, allocations: 0.5909 MB / 329.3 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.2707, allocations: 1.125 kB / 329.3 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.514e-05/0.2707, allocations: 17.78 kB / 329.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.2709, allocations: 40.77 kB / 329.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.2712, allocations: 77.88 kB / 329.5 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.2714, allocations: 176.2 kB / 329.6 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.2716, allocations: 39.12 kB / 329.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.2718, allocations: 66.61 kB / 329.7 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2719, allocations: 77.53 kB / 329.8 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.2719, allocations: 8.156 kB / 329.8 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.627e-05/0.272, allocations: 8.344 kB / 329.8 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.272, allocations: 28.58 kB / 329.9 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.608e-05/0.2721, allocations: 95.12 kB / 330 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.2723, allocations: 161.8 kB / 330.1 MB, free: 15.05 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2723, allocations: 0 / 330.1 MB, free: 15.05 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2723, allocations: 3.938 kB / 330.1 MB, free: 15.05 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.2724, allocations: 1.281 kB / 330.1 MB, free: 15.05 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.0008503/0.2732, allocations: 444.5 kB / 330.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.2733, allocations: 8.469 kB / 330.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.2733, allocations: 17.28 kB / 330.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.2736, allocations: 199.8 kB / 330.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.2736, allocations: 11.84 kB / 330.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.2736, allocations: 10.72 kB / 330.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.274, allocations: 152.5 kB / 331 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2741, allocations: 0 / 331 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.2741, allocations: 5.188 kB / 331 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.2741, allocations: 7.094 kB / 331 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.2744, allocations: 95.38 kB / 331.1 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009942/0.2754, allocations: 0.5069 MB / 331.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.2758, allocations: 114 kB / 331.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.276, allocations: 63.8 kB / 331.7 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.276, allocations: 5.031 kB / 331.7 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.2761, allocations: 39.72 kB / 331.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2761, allocations: 1.062 kB / 331.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005032/0.2766, allocations: 148.7 kB / 331.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.2766, allocations: 105 kB / 332 MB, free: 13.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.2768, allocations: 160.2 kB / 332.2 MB, free: 13.26 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.2768, allocations: 26.58 kB / 332.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.2769, allocations: 123.7 kB / 332.3 MB, free: 13.11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.277, allocations: 26.38 kB / 332.4 MB, free: 13.09 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.277, allocations: 25.67 kB / 332.4 MB, free: 13.06 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2772, allocations: 320.2 kB / 332.7 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.2773, allocations: 44.48 kB / 332.7 MB, free: 12.72 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.2774, allocations: 74.39 kB / 332.8 MB, free: 12.66 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.2777, allocations: 111.5 kB / 332.9 MB, free: 12.59 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2777, allocations: 3.938 kB / 332.9 MB, free: 12.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003318/0.2781, allocations: 149.8 kB / 333.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2781, allocations: 9.125 kB / 333.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2781, allocations: 0 / 333.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2781, allocations: 1.5 kB / 333.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.2787, allocations: 84.83 kB / 333.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.2801, allocations: 1.406 MB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.2803, allocations: 20.3 kB / 334.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.2803, allocations: 6.953 kB / 334.6 MB, free: 11.01 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.2805, allocations: 129.5 kB / 334.7 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.2805, allocations: 12.56 kB / 334.7 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.281, allocations: 162.4 kB / 334.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.281, allocations: 4.969 kB / 334.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.281, allocations: 1 kB / 334.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2811, allocations: 0 / 334.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/0.2818, allocations: 470.8 kB / 335.4 MB, free: 10.33 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2818, allocations: 1.031 kB / 335.4 MB, free: 10.33 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.282, allocations: 25.84 kB / 335.4 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002541/0.2822, allocations: 40.05 kB / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2822, allocations: 0.9062 kB / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.2833, allocations: 1.302 MB / 336.7 MB, free: 8.949 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2834, allocations: 1 kB / 336.7 MB, free: 8.949 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.2839, allocations: 308 kB / 337 MB, free: 8.711 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.284, allocations: 88.98 kB / 337.1 MB, free: 8.605 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.284, allocations: 4 kB / 337.1 MB, free: 8.602 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.2842, allocations: 20.05 kB / 337.1 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.2842, allocations: 11.98 kB / 337.2 MB, free: 8.57 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.2843, allocations: 4 kB / 337.2 MB, free: 8.566 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.2844, allocations: 119.2 kB / 337.3 MB, free: 8.449 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2844, allocations: 0 / 337.3 MB, free: 8.449 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.2847, allocations: 43.84 kB / 337.3 MB, free: 8.406 MB / 270.1 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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001947/0.2849, allocations: 99.25 kB / 337.4 MB, free: 8.301 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006931/0.2856, allocations: 139.8 kB / 337.5 MB, free: 8.164 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.2856, allocations: 4 kB / 337.6 MB, free: 8.16 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.2859, allocations: 170.6 kB / 337.7 MB, free: 7.98 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2862, allocations: 11.94 kB / 337.7 MB, free: 7.969 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.2877, allocations: 0.6263 MB / 338.4 MB, free: 7.316 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.2881, allocations: 0.7121 MB / 339.1 MB, free: 6.578 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.02e-05/0.2882, allocations: 16.55 kB / 339.1 MB, free: 6.562 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.2883, allocations: 11.44 kB / 339.1 MB, free: 6.551 MB / 270.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2883, allocations: 4 kB / 339.1 MB, free: 6.547 MB / 270.1 MB Notification: Performance of Templates: time 0.004307/0.2926, allocations: 1.519 MB / 340.6 MB, free: 5.031 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1)