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.0007996/0.0007995, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001069/0.001069, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.0004419/0.0004419, allocations: 8 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2372, allocations: 47.59 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.001832/0.239, allocations: 1.67 MB / 328.2 MB, free: 60 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000842/0.2399, allocations: 0.564 MB / 328.7 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.24, allocations: 2.156 kB / 328.7 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.24, allocations: 8.922 kB / 328.7 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2401, allocations: 37 kB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.2405, allocations: 81.14 kB / 328.8 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.2406, allocations: 168.1 kB / 329 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2408, allocations: 40.42 kB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.2409, allocations: 63.31 kB / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.2411, allocations: 72.98 kB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.2411, allocations: 8.344 kB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.535e-05/0.2411, allocations: 8.812 kB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.2412, allocations: 24.28 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.2412, allocations: 49.02 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2414, allocations: 127.8 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2414, allocations: 0 / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2414, allocations: 0 / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.2414, allocations: 1.125 kB / 329.4 MB, free: 15.14 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.0006707/0.2421, allocations: 444.8 kB / 329.8 MB, free: 14.72 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2421, allocations: 10.44 kB / 329.8 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.2422, allocations: 14.88 kB / 329.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.2423, allocations: 194.8 kB / 330 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.2424, allocations: 11.39 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.2424, allocations: 10.66 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.2427, allocations: 159.4 kB / 330.2 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2427, allocations: 7.938 kB / 330.2 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2428, allocations: 1 kB / 330.2 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2428, allocations: 3.031 kB / 330.2 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.243, allocations: 99.75 kB / 330.3 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008847/0.2439, allocations: 0.5096 MB / 330.8 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.2442, allocations: 102 kB / 330.9 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.2444, allocations: 72.27 kB / 331 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.2445, allocations: 9.047 kB / 331 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.2445, allocations: 31.66 kB / 331 MB, free: 13.69 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2445, allocations: 1.188 kB / 331 MB, free: 13.69 MB / 270.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004527/0.245, allocations: 145 kB / 331.2 MB, free: 13.61 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.245, allocations: 111.6 kB / 331.3 MB, free: 13.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2452, allocations: 155.7 kB / 331.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.2452, allocations: 30.72 kB / 331.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.2453, allocations: 123.2 kB / 331.6 MB, free: 13.2 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.2453, allocations: 31.42 kB / 331.6 MB, free: 13.17 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.2453, allocations: 4 kB / 331.6 MB, free: 13.17 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2455, allocations: 322 kB / 331.9 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.2456, allocations: 39.34 kB / 332 MB, free: 12.83 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.2458, allocations: 85.33 kB / 332.1 MB, free: 12.76 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.2459, allocations: 41.92 kB / 332.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2459, allocations: 0 / 332.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003304/0.2462, allocations: 148.7 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2463, allocations: 9.297 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2463, allocations: 0.9688 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2463, allocations: 4.891 kB / 332.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.2469, allocations: 84.67 kB / 332.4 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.2482, allocations: 1.405 MB / 333.8 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.2484, allocations: 21.48 kB / 333.8 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.2484, allocations: 2.562 kB / 333.8 MB, free: 11.16 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 (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.2485, allocations: 124.8 kB / 333.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.2485, allocations: 21.03 kB / 333.9 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.249, allocations: 157.7 kB / 334.1 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.249, allocations: 2.25 kB / 334.1 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.249, allocations: 0 / 334.1 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.249, allocations: 0 / 334.1 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007291/0.2498, allocations: 475.3 kB / 334.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2498, allocations: 0 / 334.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.2499, allocations: 23.45 kB / 334.6 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002549/0.2502, allocations: 38.81 kB / 334.6 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2502, allocations: 6.312 kB / 334.6 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.2513, allocations: 1.297 MB / 335.9 MB, free: 9.109 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2513, allocations: 1.375 kB / 335.9 MB, free: 9.109 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.2518, allocations: 306 kB / 336.2 MB, free: 8.879 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.2519, allocations: 99.19 kB / 336.3 MB, free: 8.766 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2519, allocations: 6.688 kB / 336.3 MB, free: 8.762 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.2521, allocations: 18.77 kB / 336.3 MB, free: 8.754 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.2521, allocations: 15.38 kB / 336.3 MB, free: 8.742 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2521, allocations: 2.156 kB / 336.3 MB, free: 8.742 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.524e-05/0.2522, allocations: 117.5 kB / 336.5 MB, free: 8.648 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2522, allocations: 0 / 336.5 MB, free: 8.648 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.2525, allocations: 40.62 kB / 336.5 MB, free: 8.641 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 (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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001134/0.2526, allocations: 104.2 kB / 336.6 MB, free: 8.547 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006214/0.2533, allocations: 134.4 kB / 336.7 MB, free: 8.5 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2533, allocations: 4.062 kB / 336.7 MB, free: 8.496 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.2536, allocations: 166.1 kB / 336.9 MB, free: 8.359 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.2538, allocations: 7.375 kB / 336.9 MB, free: 8.355 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.2553, allocations: 0.6077 MB / 337.5 MB, free: 7.727 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.2556, allocations: 0.7238 MB / 338.2 MB, free: 6.977 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.2556, allocations: 4.562 kB / 338.2 MB, free: 6.973 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.2557, allocations: 23.42 kB / 338.3 MB, free: 6.949 MB / 270.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2557, allocations: 0 / 338.3 MB, free: 6.949 MB / 270.1 MB Notification: Performance of Templates: time 0.003923/0.2596, allocations: 1.468 MB / 339.7 MB, free: 5.484 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)