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.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00134/0.00134, allocations: 193.8 kB / 16.14 MB, free: 6.715 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.503/1.503, allocations: 205.1 MB / 222 MB, free: 4.996 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.001349/0.001349, allocations: 59.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2919, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003034/0.2949, allocations: 2.061 MB / 326.7 MB, free: 208 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2962, allocations: 0.6035 MB / 327.3 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.2963, allocations: 5.344 kB / 327.3 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.707e-05/0.2964, allocations: 13.2 kB / 327.4 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.2965, allocations: 36.84 kB / 327.4 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.2969, allocations: 77.56 kB / 327.5 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.2971, allocations: 172.8 kB / 327.6 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.2973, allocations: 43.67 kB / 327.7 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.2974, allocations: 76.83 kB / 327.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.897e-05/0.2975, allocations: 77.8 kB / 327.8 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.2976, allocations: 9.156 kB / 327.8 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.79e-05/0.2976, allocations: 10.59 kB / 327.9 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.2977, allocations: 27.41 kB / 327.9 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.747e-05/0.2978, allocations: 82.08 kB / 328 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.298, allocations: 161.6 kB / 328.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.298, allocations: 0 / 328.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.298, allocations: 3.938 kB / 328.1 MB, free: 15.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.298, allocations: 1.188 kB / 328.1 MB, free: 15.19 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.001096/0.2991, allocations: 469.6 kB / 328.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.2992, allocations: 8.625 kB / 328.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.2993, allocations: 17.56 kB / 328.6 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.2995, allocations: 191.1 kB / 328.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.2996, allocations: 8.531 kB / 328.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.2996, allocations: 15.16 kB / 328.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.3, allocations: 158.7 kB / 329 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.3001, allocations: 0 / 329 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.3001, allocations: 0.9688 kB / 329 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3001, allocations: 6.438 kB / 329 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.3004, allocations: 96.59 kB / 329.1 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.3015, allocations: 0.5025 MB / 329.6 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.3018, allocations: 113.8 kB / 329.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.302, allocations: 70.5 kB / 329.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.302, allocations: 1 kB / 329.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3021, allocations: 39.66 kB / 329.8 MB, free: 13.72 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3021, allocations: 0 / 329.8 MB, free: 13.72 MB / 270.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004822/0.3026, allocations: 144.2 kB / 329.9 MB, free: 13.64 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.3027, allocations: 107.8 kB / 330 MB, free: 13.51 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.3028, allocations: 156.4 kB / 330.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3028, allocations: 30.75 kB / 330.2 MB, free: 13.35 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.3029, allocations: 119.9 kB / 330.3 MB, free: 13.23 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.3029, allocations: 26.28 kB / 330.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.303, allocations: 35.16 kB / 330.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3031, allocations: 321.2 kB / 330.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.3033, allocations: 38.23 kB / 330.8 MB, free: 12.84 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.3034, allocations: 75.98 kB / 330.8 MB, free: 12.78 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.3037, allocations: 112.1 kB / 330.9 MB, free: 12.71 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3037, allocations: 4.031 kB / 330.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000355/0.3041, allocations: 137.9 kB / 331.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3041, allocations: 9.062 kB / 331.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3041, allocations: 0.9688 kB / 331.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3041, allocations: 1.188 kB / 331.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.3047, allocations: 83.11 kB / 331.2 MB, free: 12.6 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.3062, allocations: 1.401 MB / 332.6 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.3063, allocations: 22.92 kB / 332.6 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.3064, allocations: 6.078 kB / 332.6 MB, free: 11.13 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.3065, allocations: 128.2 kB / 332.7 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.3066, allocations: 14.41 kB / 332.7 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.307, allocations: 154 kB / 332.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.307, allocations: 1.094 kB / 332.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.3071, allocations: 4 kB / 332.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.3071, allocations: 1.125 kB / 332.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.3078, allocations: 461.5 kB / 333.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3078, allocations: 7.984 kB / 333.4 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.308, allocations: 29.84 kB / 333.4 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/0.3083, allocations: 39.86 kB / 333.4 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3083, allocations: 0 / 333.4 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.3095, allocations: 1.292 MB / 334.7 MB, free: 9.074 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3095, allocations: 1.188 kB / 334.7 MB, free: 9.074 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.3102, allocations: 305 kB / 335 MB, free: 8.84 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.3103, allocations: 88.36 kB / 335.1 MB, free: 8.738 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.3103, allocations: 5.062 kB / 335.1 MB, free: 8.734 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.3105, allocations: 18.33 kB / 335.1 MB, free: 8.727 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.3105, allocations: 7.297 kB / 335.1 MB, free: 8.723 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.3106, allocations: 6.438 kB / 335.1 MB, free: 8.719 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.3107, allocations: 117.6 kB / 335.2 MB, free: 8.625 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3107, allocations: 0 / 335.2 MB, free: 8.625 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.3111, allocations: 44.47 kB / 335.3 MB, free: 8.613 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.0001821/0.3113, allocations: 101.7 kB / 335.4 MB, free: 8.523 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000765/0.312, allocations: 133.5 kB / 335.5 MB, free: 8.473 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.312, allocations: 4 kB / 335.5 MB, free: 8.469 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.3124, allocations: 167.1 kB / 335.7 MB, free: 8.328 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3127, allocations: 12.56 kB / 335.7 MB, free: 8.32 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.3143, allocations: 0.5821 MB / 336.3 MB, free: 7.852 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3145, allocations: 0.7121 MB / 337 MB, free: 7.113 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.3146, allocations: 12.56 kB / 337 MB, free: 7.102 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.3147, allocations: 15.42 kB / 337 MB, free: 7.086 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3147, allocations: 0 / 337 MB, free: 7.086 MB / 270.1 MB Notification: Performance of Templates: time 0.004177/0.3188, allocations: 1.538 MB / 338.6 MB, free: 5.551 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)