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.008787/0.008787, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.329/1.329, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.001566/0.001566, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 12 kB / 274.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2462, allocations: 38.76 MB / 312.9 MB, free: 38.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09401/0.3402, allocations: 67.63 MB / 380.5 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.3404, allocations: 67.97 kB / 380.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007447/0.3479, allocations: 2.626 MB / 383.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3479, allocations: 0 / 383.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3479, allocations: 0 / 383.2 MB, free: 4.191 MB / 282.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.0006767/0.3486, allocations: 446.7 kB / 383.6 MB, free: 3.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.3487, allocations: 11.97 kB / 383.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.3488, allocations: 15.81 kB / 383.7 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.349, allocations: 186.9 kB / 383.9 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.349, allocations: 8 kB / 383.9 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.3491, allocations: 15.95 kB / 383.9 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.3494, allocations: 138 kB / 384 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3494, allocations: 4 kB / 384 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.3494, allocations: 0 / 384 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3494, allocations: 0 / 384 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.3496, allocations: 75.95 kB / 384.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009551/0.3506, allocations: 0.503 MB / 384.6 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.3509, allocations: 91.05 kB / 384.7 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3509, allocations: 0 / 384.7 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3509, allocations: 34.56 kB / 384.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.146e-06/0.3509, allocations: 0 / 384.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007601/0.3517, allocations: 263.3 kB / 385 MB, free: 2.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.3518, allocations: 106.8 kB / 385.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3519, allocations: 142.7 kB / 385.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.352, allocations: 29.7 kB / 385.2 MB, free: 1.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.3521, allocations: 120.2 kB / 385.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.3521, allocations: 31.55 kB / 385.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.3521, allocations: 0 / 385.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3522, allocations: 322.8 kB / 385.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.3523, allocations: 31.98 kB / 385.7 MB, free: 1.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3525, allocations: 72.28 kB / 385.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.05e-05/0.3525, allocations: 45.55 kB / 385.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3526, allocations: 0 / 385.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004654/0.353, allocations: 162.5 kB / 386 MB, free: 1.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3531, allocations: 12 kB / 386 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3531, allocations: 0 / 386 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/0.3534, allocations: 48.8 kB / 386.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009586/0.3544, allocations: 139.9 kB / 386.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/0.3571, allocations: 2.805 MB / 389 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.3573, allocations: 15.92 kB / 389 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3573, allocations: 8.219 kB / 389 MB, free: 13.82 MB / 298.7 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 (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 0.0001282/0.3574, allocations: 121.8 kB / 389.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.3575, allocations: 19.8 kB / 389.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.3579, allocations: 147.5 kB / 389.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3579, allocations: 4 kB / 389.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.3579, allocations: 0 / 389.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3579, allocations: 0 / 389.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.3582, allocations: 233.5 kB / 389.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3582, allocations: 3.938 kB / 389.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.3583, allocations: 15.98 kB / 389.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002766/0.3586, allocations: 56.8 kB / 389.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3586, allocations: 7.938 kB / 389.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.3599, allocations: 1.378 MB / 391 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.36, allocations: 3.984 kB / 391 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.3605, allocations: 280.1 kB / 391.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.3606, allocations: 96.97 kB / 391.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3607, allocations: 8 kB / 391.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.3608, allocations: 11.98 kB / 391.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.3609, allocations: 11.94 kB / 391.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3609, allocations: 0 / 391.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.952e-05/0.361, allocations: 124.2 kB / 391.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.361, allocations: 0 / 391.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.3613, allocations: 43.91 kB / 391.6 MB, free: 11.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0001702/0.3615, allocations: 104.4 kB / 391.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.3626, allocations: 287.5 kB / 392 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3626, allocations: 0 / 392 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.3629, allocations: 166.6 kB / 392.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.3631, allocations: 10.19 kB / 392.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009501/0.364, allocations: 479.3 kB / 392.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.3644, allocations: 0.7204 MB / 393.3 MB, free: 9.207 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.819e-05/0.3645, allocations: 12.5 kB / 393.3 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.3645, allocations: 15.42 kB / 393.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3645, allocations: 0 / 393.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of Templates: time 0.004407/0.3689, allocations: 1.674 MB / 395 MB, free: 7.516 MB / 298.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)