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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 90.3 kB / 16.31 MB, free: 5.664 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.001236/0.001236, allocations: 185.5 kB / 17.21 MB, free: 5.582 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.49/1.49, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0008322/0.0008324, allocations: 18.81 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3167, allocations: 47.57 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002067/0.3188, allocations: 1.673 MB / 329.4 MB, free: 88 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.32, allocations: 0.5668 MB / 330 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.45e-05/0.3201, allocations: 3.938 kB / 330 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.69e-05/0.3201, allocations: 7.922 kB / 330 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.3203, allocations: 41.16 kB / 330 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.3206, allocations: 80.48 kB / 330.1 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.3209, allocations: 163.7 kB / 330.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.3211, allocations: 37.45 kB / 330.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.3213, allocations: 66.19 kB / 330.4 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.3215, allocations: 70.25 kB / 330.4 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.3215, allocations: 11.02 kB / 330.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.309e-05/0.3216, allocations: 8.375 kB / 330.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.3216, allocations: 24.75 kB / 330.5 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.3217, allocations: 50.08 kB / 330.5 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.3219, allocations: 126.9 kB / 330.6 MB, free: 15.17 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.3219, allocations: 0 / 330.6 MB, free: 15.17 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.539e-06/0.3219, allocations: 1.469 kB / 330.6 MB, free: 15.17 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3219, allocations: 3.938 kB / 330.6 MB, free: 15.16 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.0009961/0.3229, allocations: 445.2 kB / 331.1 MB, free: 14.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.323, allocations: 8.781 kB / 331.1 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.3231, allocations: 16.03 kB / 331.1 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.3234, allocations: 190.9 kB / 331.3 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.3234, allocations: 15.66 kB / 331.3 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.3234, allocations: 10.38 kB / 331.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.3238, allocations: 154.7 kB / 331.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3239, allocations: 1.062 kB / 331.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.3239, allocations: 5.031 kB / 331.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3239, allocations: 2.156 kB / 331.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.3242, allocations: 99.47 kB / 331.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.3254, allocations: 0.51 MB / 332.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.3258, allocations: 106.9 kB / 332.2 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.326, allocations: 71.86 kB / 332.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.326, allocations: 9.391 kB / 332.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3261, allocations: 35.88 kB / 332.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3261, allocations: 0 / 332.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005047/0.3266, allocations: 148.8 kB / 332.4 MB, free: 13.63 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.3267, allocations: 105 kB / 332.5 MB, free: 13.51 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.3268, allocations: 160 kB / 332.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3269, allocations: 25.7 kB / 332.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.327, allocations: 123.5 kB / 332.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.327, allocations: 27.11 kB / 332.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.327, allocations: 0 / 332.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3272, allocations: 325.9 kB / 333.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.3273, allocations: 42.77 kB / 333.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.3275, allocations: 81.45 kB / 333.3 MB, free: 12.79 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3276, allocations: 55.19 kB / 333.4 MB, free: 12.77 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3276, allocations: 0 / 333.4 MB, free: 12.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00036/0.328, allocations: 151.8 kB / 333.5 MB, free: 12.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.328, allocations: 9.578 kB / 333.5 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3281, allocations: 1.375 kB / 333.5 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3281, allocations: 1.219 kB / 333.5 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.3287, allocations: 84.58 kB / 333.6 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.3302, allocations: 1.406 MB / 335 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.3304, allocations: 20.05 kB / 335 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3304, allocations: 4.094 kB / 335 MB, free: 11.18 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.0001366/0.3306, allocations: 127.7 kB / 335.2 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.3306, allocations: 18.11 kB / 335.2 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/0.3311, allocations: 156.9 kB / 335.3 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3311, allocations: 1.969 kB / 335.3 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.3311, allocations: 0 / 335.3 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3311, allocations: 3.984 kB / 335.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007849/0.3319, allocations: 466.8 kB / 335.8 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3319, allocations: 0.9688 kB / 335.8 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.3321, allocations: 25.7 kB / 335.8 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002794/0.3324, allocations: 40.53 kB / 335.9 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3324, allocations: 5.031 kB / 335.9 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.3336, allocations: 1.298 MB / 337.2 MB, free: 9.129 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3336, allocations: 0 / 337.2 MB, free: 9.129 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.3342, allocations: 302 kB / 337.5 MB, free: 8.902 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.3343, allocations: 93.11 kB / 337.6 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.3343, allocations: 5.5 kB / 337.6 MB, free: 8.793 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3345, allocations: 19.67 kB / 337.6 MB, free: 8.785 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.3346, allocations: 10.88 kB / 337.6 MB, free: 8.777 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3346, allocations: 6.938 kB / 337.6 MB, free: 8.773 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.3347, allocations: 121.4 kB / 337.7 MB, free: 8.676 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3347, allocations: 0 / 337.7 MB, free: 8.676 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.335, allocations: 32.56 kB / 337.7 MB, free: 8.676 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 (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.000135/0.3352, allocations: 111.2 kB / 337.9 MB, free: 8.574 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006876/0.3359, allocations: 134.5 kB / 338 MB, free: 8.527 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3359, allocations: 4.062 kB / 338 MB, free: 8.523 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.3362, allocations: 169.8 kB / 338.2 MB, free: 8.383 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.3365, allocations: 7.406 kB / 338.2 MB, free: 8.379 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.3383, allocations: 0.607 MB / 338.8 MB, free: 7.746 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.3387, allocations: 0.7199 MB / 339.5 MB, free: 7 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.659e-05/0.3388, allocations: 12.55 kB / 339.5 MB, free: 6.988 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.3388, allocations: 11.44 kB / 339.5 MB, free: 6.977 MB / 270.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3388, allocations: 0 / 339.5 MB, free: 6.977 MB / 270.1 MB Notification: Performance of Templates: time 0.004655/0.3435, allocations: 1.473 MB / 341 MB, free: 5.508 MB / 270.1 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)