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.001281/0.001281, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.01052/0.01052, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.667/1.667, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004513/0.0004517, allocations: 12.42 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2648, allocations: 47.58 MB / 327 MB, free: 1.766 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.001864/0.2667, allocations: 1.708 MB / 328.7 MB, free: 416 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000877/0.2676, allocations: 0.6014 MB / 329.3 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.2677, allocations: 2.375 kB / 329.3 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.277e-05/0.2677, allocations: 16.91 kB / 329.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.2679, allocations: 36.62 kB / 329.4 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.2682, allocations: 81.41 kB / 329.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.2685, allocations: 168.9 kB / 329.6 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.2686, allocations: 51.89 kB / 329.7 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.2688, allocations: 66.06 kB / 329.8 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.2689, allocations: 73.64 kB / 329.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.269, allocations: 8.5 kB / 329.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.895e-05/0.269, allocations: 7.438 kB / 329.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.2691, allocations: 28 kB / 329.9 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.2692, allocations: 100.2 kB / 330 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.2694, allocations: 157.8 kB / 330.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2694, allocations: 4 kB / 330.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.2694, allocations: 0 / 330.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2694, allocations: 4.969 kB / 330.1 MB, free: 15.38 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.0007791/0.2702, allocations: 447.8 kB / 330.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2702, allocations: 9.25 kB / 330.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.2703, allocations: 20.62 kB / 330.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.2705, allocations: 193 kB / 330.8 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2705, allocations: 7.062 kB / 330.8 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.2706, allocations: 11.72 kB / 330.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.2709, allocations: 155.6 kB / 331 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.271, allocations: 0 / 331 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.271, allocations: 6.328 kB / 331 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.271, allocations: 2.188 kB / 331 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.2713, allocations: 98.94 kB / 331.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009762/0.2723, allocations: 0.5103 MB / 331.6 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.2726, allocations: 103.4 kB / 331.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.2728, allocations: 72.2 kB / 331.7 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.2729, allocations: 5.172 kB / 331.7 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2729, allocations: 36.41 kB / 331.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.2729, allocations: 0 / 331.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004705/0.2734, allocations: 153 kB / 331.9 MB, free: 13.85 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.2735, allocations: 104 kB / 332 MB, free: 13.72 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.2736, allocations: 161 kB / 332.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.2736, allocations: 26.83 kB / 332.2 MB, free: 13.56 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.2737, allocations: 114.7 kB / 332.3 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.2738, allocations: 38.89 kB / 332.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.2738, allocations: 16.56 kB / 332.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.2739, allocations: 321.7 kB / 332.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.274, allocations: 43.5 kB / 332.7 MB, free: 13.05 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.2742, allocations: 81.48 kB / 332.8 MB, free: 12.99 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.2745, allocations: 112.9 kB / 332.9 MB, free: 12.92 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.2745, allocations: 0 / 332.9 MB, free: 12.92 MB / 270.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003288/0.2748, allocations: 149.1 kB / 333.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2749, allocations: 13.05 kB / 333.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.2749, allocations: 1.312 kB / 333.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2749, allocations: 1.781 kB / 333.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.2754, allocations: 82.89 kB / 333.2 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.2769, allocations: 1.403 MB / 334.6 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.2771, allocations: 25.3 kB / 334.6 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.2771, allocations: 7.438 kB / 334.6 MB, free: 11.33 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.0001126/0.2772, allocations: 123.4 kB / 334.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.2773, allocations: 13.28 kB / 334.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.2777, allocations: 162.5 kB / 334.9 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2777, allocations: 2.125 kB / 334.9 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.2777, allocations: 0 / 334.9 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2777, allocations: 3.984 kB / 334.9 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007426/0.2785, allocations: 471.6 kB / 335.4 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2785, allocations: 4 kB / 335.4 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.2787, allocations: 22.23 kB / 335.4 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002495/0.2789, allocations: 48.66 kB / 335.4 MB, free: 10.62 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.2789, allocations: 0.8438 kB / 335.4 MB, free: 10.62 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009987/0.2799, allocations: 1.298 MB / 336.7 MB, free: 9.273 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2799, allocations: 0 / 336.7 MB, free: 9.273 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.2806, allocations: 309 kB / 337 MB, free: 8.969 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.2806, allocations: 88.98 kB / 337.1 MB, free: 8.863 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.2807, allocations: 4.062 kB / 337.1 MB, free: 8.859 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.2808, allocations: 19.98 kB / 337.1 MB, free: 8.84 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.2809, allocations: 7.984 kB / 337.2 MB, free: 8.832 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.2809, allocations: 4 kB / 337.2 MB, free: 8.828 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.895e-05/0.281, allocations: 115.2 kB / 337.3 MB, free: 8.715 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.281, allocations: 0 / 337.3 MB, free: 8.715 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.2813, allocations: 43.84 kB / 337.3 MB, free: 8.672 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.0001338/0.2815, allocations: 107.2 kB / 337.4 MB, free: 8.559 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006668/0.2822, allocations: 136 kB / 337.6 MB, free: 8.426 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2822, allocations: 0 / 337.6 MB, free: 8.426 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.2825, allocations: 174.5 kB / 337.7 MB, free: 8.242 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.2828, allocations: 16 kB / 337.7 MB, free: 8.227 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.2843, allocations: 0.6225 MB / 338.4 MB, free: 7.578 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.2846, allocations: 0.716 MB / 339.1 MB, free: 6.836 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.728e-05/0.2847, allocations: 8.562 kB / 339.1 MB, free: 6.828 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.2847, allocations: 15.42 kB / 339.1 MB, free: 6.812 MB / 270.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2847, allocations: 0 / 339.1 MB, free: 6.812 MB / 270.1 MB Notification: Performance of Templates: time 0.004102/0.2888, allocations: 1.519 MB / 340.6 MB, free: 5.297 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (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)