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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 169.7 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.178/1.178, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001624/0.001624, allocations: 107.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.102e-05, allocations: 7.984 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06712/0.06717, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2683/0.3355, allocations: 67.53 MB / 375.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.3358, allocations: 70.59 kB / 375.2 MB, free: 8.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007661/0.3435, allocations: 2.623 MB / 377.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3435, allocations: 2.406 kB / 377.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.3435, allocations: 4 kB / 377.9 MB, free: 6.438 MB / 266.7 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.0005085/0.344, allocations: 413.2 kB / 378.3 MB, free: 6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3441, allocations: 8.031 kB / 378.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.3441, allocations: 15.81 kB / 378.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.3443, allocations: 194 kB / 378.5 MB, free: 5.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3444, allocations: 7.625 kB / 378.5 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.3444, allocations: 14.95 kB / 378.5 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.3446, allocations: 133.4 kB / 378.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3446, allocations: 0 / 378.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3447, allocations: 3.438 kB / 378.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3447, allocations: 4 kB / 378.6 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.3448, allocations: 56.48 kB / 378.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000872/0.3457, allocations: 0.5133 MB / 379.2 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.3459, allocations: 86.75 kB / 379.3 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.346, allocations: 47.3 kB / 379.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3461, allocations: 4 kB / 379.3 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3461, allocations: 34.55 kB / 379.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3461, allocations: 0 / 379.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004055/0.3465, allocations: 123.3 kB / 379.5 MB, free: 4.809 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.3466, allocations: 106.8 kB / 379.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3467, allocations: 138.5 kB / 379.7 MB, free: 4.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3468, allocations: 25.7 kB / 379.8 MB, free: 4.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.3468, allocations: 125.9 kB / 379.9 MB, free: 4.406 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.3469, allocations: 27 kB / 379.9 MB, free: 4.383 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/0.3469, allocations: 3.25 kB / 379.9 MB, free: 4.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.347, allocations: 321.6 kB / 380.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.3471, allocations: 25.06 kB / 380.2 MB, free: 4.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.3472, allocations: 64.7 kB / 380.3 MB, free: 3.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.623e-05/0.3472, allocations: 30.48 kB / 380.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3472, allocations: 4 kB / 380.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003487/0.3476, allocations: 150.4 kB / 380.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3476, allocations: 4 kB / 380.5 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3476, allocations: 4 kB / 380.5 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/0.3479, allocations: 48.17 kB / 380.5 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.3488, allocations: 142.9 kB / 380.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.3513, allocations: 2.794 MB / 383.5 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3515, allocations: 12.16 kB / 383.5 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3515, allocations: 11.48 kB / 383.5 MB, free: 0.6445 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.602e-05/0.3516, allocations: 112.2 kB / 383.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.3516, allocations: 11.81 kB / 383.6 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.352, allocations: 140.4 kB / 383.8 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.352, allocations: 0 / 383.8 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.352, allocations: 0 / 383.8 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.352, allocations: 0 / 383.8 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000628/0.3526, allocations: 436.3 kB / 384.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3527, allocations: 4 kB / 384.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.3528, allocations: 27.34 kB / 384.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/0.353, allocations: 48.19 kB / 384.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3531, allocations: 7.984 kB / 384.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.3542, allocations: 1.366 MB / 385.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3542, allocations: 0 / 385.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.3546, allocations: 276.7 kB / 385.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.3547, allocations: 104.9 kB / 386 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3547, allocations: 7.812 kB / 386 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.3549, allocations: 16.05 kB / 386 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.355, allocations: 4 kB / 386 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.355, allocations: 11.86 kB / 386.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.695e-05/0.3551, allocations: 123.4 kB / 386.2 MB, free: 13.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3551, allocations: 0 / 386.2 MB, free: 13.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002942/0.3554, allocations: 43.72 kB / 386.2 MB, free: 13.88 MB / 282.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.3556, allocations: 111.2 kB / 386.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009039/0.3565, allocations: 261.5 kB / 386.6 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3565, allocations: 0 / 386.6 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.3567, allocations: 160.9 kB / 386.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.3569, allocations: 7.25 kB / 386.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.3574, allocations: 297.8 kB / 387 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.3577, allocations: 0.7198 MB / 387.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.264e-05/0.3577, allocations: 12.42 kB / 387.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.3578, allocations: 15.44 kB / 387.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of SimCode: time 2.225e-06/0.3578, allocations: 0 / 387.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of Templates: time 0.004235/0.362, allocations: 1.661 MB / 389.4 MB, free: 10.62 MB / 282.7 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)