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.001337/0.001337, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001564/0.001564, allocations: 192 kB / 16.25 MB, free: 6.633 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.554/1.554, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.001134/0.001134, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2556, allocations: 46.63 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002758/0.2585, allocations: 2.058 MB / 326.9 MB, free: 328 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.2593, allocations: 0.6054 MB / 327.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.2594, allocations: 0 / 327.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.873e-05/0.2595, allocations: 10.17 kB / 327.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.2596, allocations: 40.09 kB / 327.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.2599, allocations: 81.11 kB / 327.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.2601, allocations: 179.2 kB / 327.8 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.2603, allocations: 60.03 kB / 327.9 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.2604, allocations: 75.28 kB / 327.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.2605, allocations: 86.23 kB / 328 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.2606, allocations: 15.44 kB / 328 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.951e-05/0.2606, allocations: 15.34 kB / 328.1 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.2607, allocations: 32.03 kB / 328.1 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.2607, allocations: 77.97 kB / 328.2 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.2609, allocations: 170.5 kB / 328.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.261, allocations: 13.12 kB / 328.3 MB, free: 15.27 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.261, allocations: 0 / 328.3 MB, free: 15.27 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.261, allocations: 0 / 328.3 MB, free: 15.27 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.0007815/0.2618, allocations: 458.8 kB / 328.8 MB, free: 14.84 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2618, allocations: 12.44 kB / 328.8 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.2619, allocations: 24.84 kB / 328.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.262, allocations: 191.8 kB / 329 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.262, allocations: 8.094 kB / 329 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.2621, allocations: 12.34 kB / 329 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.2624, allocations: 157.2 kB / 329.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2624, allocations: 4 kB / 329.2 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.2624, allocations: 1.219 kB / 329.2 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2624, allocations: 2.594 kB / 329.2 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.2627, allocations: 91.97 kB / 329.3 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008977/0.2636, allocations: 0.515 MB / 329.8 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.2639, allocations: 105.1 kB / 329.9 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.2641, allocations: 66.83 kB / 330 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2642, allocations: 5.047 kB / 330 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2642, allocations: 39.47 kB / 330 MB, free: 13.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.2642, allocations: 1.312 kB / 330 MB, free: 13.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004523/0.2646, allocations: 139 kB / 330.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.2647, allocations: 104.1 kB / 330.3 MB, free: 13.6 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.2649, allocations: 165.3 kB / 330.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2649, allocations: 30.77 kB / 330.4 MB, free: 13.43 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.265, allocations: 114.6 kB / 330.6 MB, free: 13.32 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.265, allocations: 30.98 kB / 330.6 MB, free: 13.29 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.2651, allocations: 30.64 kB / 330.6 MB, free: 13.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2652, allocations: 322.4 kB / 330.9 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.2653, allocations: 41.61 kB / 331 MB, free: 12.93 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.2655, allocations: 83.53 kB / 331.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.2657, allocations: 100.5 kB / 331.2 MB, free: 12.79 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2657, allocations: 0 / 331.2 MB, free: 12.79 MB / 270.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003241/0.2661, allocations: 146.3 kB / 331.3 MB, free: 12.71 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2661, allocations: 8.469 kB / 331.3 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2661, allocations: 0.9375 kB / 331.3 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2661, allocations: 9.031 kB / 331.3 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.2667, allocations: 83.69 kB / 331.4 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.2682, allocations: 1.501 MB / 332.9 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.2684, allocations: 23.17 kB / 332.9 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.2685, allocations: 6.438 kB / 332.9 MB, free: 11.1 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.0001293/0.2686, allocations: 128.4 kB / 333.1 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.2686, allocations: 13.66 kB / 333.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.2691, allocations: 150.4 kB / 333.2 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2691, allocations: 5 kB / 333.2 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2691, allocations: 3.938 kB / 333.2 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2691, allocations: 1.25 kB / 333.2 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/0.2699, allocations: 477 kB / 333.7 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2699, allocations: 1.188 kB / 333.7 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.2701, allocations: 21.48 kB / 333.7 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.2703, allocations: 38.39 kB / 333.7 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2703, allocations: 1.219 kB / 333.7 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.2715, allocations: 1.389 MB / 335.1 MB, free: 8.945 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2715, allocations: 3.938 kB / 335.1 MB, free: 8.941 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.2721, allocations: 293.5 kB / 335.4 MB, free: 8.719 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.484e-05/0.2722, allocations: 87.92 kB / 335.5 MB, free: 8.617 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.2722, allocations: 17.64 kB / 335.5 MB, free: 8.602 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.2724, allocations: 13.3 kB / 335.5 MB, free: 8.598 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.2724, allocations: 4.531 kB / 335.5 MB, free: 8.598 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2725, allocations: 1.469 kB / 335.5 MB, free: 8.598 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.659e-05/0.2726, allocations: 118.5 kB / 335.7 MB, free: 8.504 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2726, allocations: 0 / 335.7 MB, free: 8.504 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.2729, allocations: 40.53 kB / 335.7 MB, free: 8.496 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.0001427/0.273, allocations: 108 kB / 335.8 MB, free: 8.398 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007404/0.2737, allocations: 130.3 kB / 335.9 MB, free: 8.316 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2738, allocations: 8 kB / 335.9 MB, free: 8.309 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.2741, allocations: 166.6 kB / 336.1 MB, free: 8.133 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2744, allocations: 12 kB / 336.1 MB, free: 8.121 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.2761, allocations: 0.5828 MB / 336.7 MB, free: 7.512 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.2765, allocations: 0.7157 MB / 337.4 MB, free: 6.77 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.2766, allocations: 16.55 kB / 337.4 MB, free: 6.754 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.2767, allocations: 11.44 kB / 337.4 MB, free: 6.742 MB / 270.1 MB Notification: Performance of SimCode: time 2e-07/0.2767, allocations: 0 / 337.4 MB, free: 6.742 MB / 270.1 MB Notification: Performance of Templates: time 0.004707/0.2814, allocations: 1.63 MB / 339.1 MB, free: 5.113 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)