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.001082/0.001082, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001103/0.001103, allocations: 177.3 kB / 15.95 MB, free: 216 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.493/1.493, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004679/0.0004681, allocations: 20 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2472, allocations: 47.57 MB / 326.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.001892/0.2491, allocations: 1.614 MB / 328.1 MB, free: 152 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2501, allocations: 0.5745 MB / 328.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.2503, allocations: 2.562 kB / 328.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.75e-05/0.2504, allocations: 11.91 kB / 328.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.2506, allocations: 49.97 kB / 328.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.2509, allocations: 78.28 kB / 328.8 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.2512, allocations: 112.3 kB / 328.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2513, allocations: 36.5 kB / 328.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.2515, allocations: 66.52 kB / 329 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.2516, allocations: 72.55 kB / 329 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.2517, allocations: 8.406 kB / 329.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.2517, allocations: 7.875 kB / 329.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.2518, allocations: 32.89 kB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.2518, allocations: 46.17 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.252, allocations: 126.4 kB / 329.3 MB, free: 15.24 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.252, allocations: 0 / 329.3 MB, free: 15.24 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.252, allocations: 0 / 329.3 MB, free: 15.24 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.252, allocations: 1.312 kB / 329.3 MB, free: 15.24 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.0007411/0.2528, allocations: 449.5 kB / 329.7 MB, free: 14.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2528, allocations: 12.41 kB / 329.7 MB, free: 14.81 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.2529, allocations: 19.72 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.2531, allocations: 190.3 kB / 329.9 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.2531, allocations: 12.3 kB / 329.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.2532, allocations: 10.75 kB / 329.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.2535, allocations: 153.7 kB / 330.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2535, allocations: 0 / 330.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.2536, allocations: 5.469 kB / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2536, allocations: 6.469 kB / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.2539, allocations: 99.16 kB / 330.2 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009233/0.2548, allocations: 0.5068 MB / 330.7 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.2551, allocations: 110.2 kB / 330.8 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.2551, allocations: 0.9688 kB / 330.8 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2552, allocations: 43.52 kB / 330.9 MB, free: 13.82 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2552, allocations: 1.031 kB / 330.9 MB, free: 13.82 MB / 270.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004401/0.2556, allocations: 151.2 kB / 331 MB, free: 13.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.2557, allocations: 103.8 kB / 331.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2558, allocations: 160 kB / 331.3 MB, free: 13.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.2558, allocations: 26.8 kB / 331.3 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.2559, allocations: 118.9 kB / 331.4 MB, free: 13.33 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.2559, allocations: 30.73 kB / 331.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-06/0.256, allocations: 5.062 kB / 331.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2561, allocations: 317.3 kB / 331.8 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.2562, allocations: 44.03 kB / 331.8 MB, free: 12.96 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.2564, allocations: 81.2 kB / 331.9 MB, free: 12.9 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.2565, allocations: 50.45 kB / 331.9 MB, free: 12.88 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2565, allocations: 1.156 kB / 331.9 MB, free: 12.88 MB / 270.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003557/0.2569, allocations: 157.7 kB / 332.1 MB, free: 12.78 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2569, allocations: 9.359 kB / 332.1 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2569, allocations: 0 / 332.1 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2569, allocations: 2.062 kB / 332.1 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.2575, allocations: 83.3 kB / 332.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.2588, allocations: 1.408 MB / 333.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.259, allocations: 24.61 kB / 333.6 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.259, allocations: 7.141 kB / 333.6 MB, free: 11.28 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.0001217/0.2591, allocations: 120.4 kB / 333.7 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.2592, allocations: 21.98 kB / 333.8 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.2596, allocations: 163.4 kB / 333.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2597, allocations: 1.031 kB / 333.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.2597, allocations: 0 / 333.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2597, allocations: 1.125 kB / 333.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.2599, allocations: 226.9 kB / 334.1 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2599, allocations: 3.938 kB / 334.1 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.2601, allocations: 29.86 kB / 334.2 MB, free: 10.78 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.2604, allocations: 43.98 kB / 334.2 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2604, allocations: 1.031 kB / 334.2 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.2616, allocations: 1.299 MB / 335.5 MB, free: 9.406 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2616, allocations: 0.9688 kB / 335.5 MB, free: 9.406 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/0.2622, allocations: 304.3 kB / 335.8 MB, free: 9.184 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.2623, allocations: 88.23 kB / 335.9 MB, free: 9.082 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.2623, allocations: 0.9688 kB / 335.9 MB, free: 9.082 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.2625, allocations: 23.42 kB / 335.9 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.2626, allocations: 7.516 kB / 335.9 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2626, allocations: 2.375 kB / 335.9 MB, free: 9.066 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.384e-05/0.2627, allocations: 116.1 kB / 336 MB, free: 8.973 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2627, allocations: 1.188 kB / 336 MB, free: 8.973 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.263, allocations: 40.22 kB / 336.1 MB, free: 8.965 MB / 270.1 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 (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.0001507/0.2632, allocations: 95.97 kB / 336.2 MB, free: 8.879 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.2639, allocations: 152.2 kB / 336.3 MB, free: 8.816 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.2639, allocations: 64 / 336.3 MB, free: 8.816 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.2642, allocations: 174.2 kB / 336.5 MB, free: 8.672 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.2643, allocations: 10.02 kB / 336.5 MB, free: 8.664 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2659, allocations: 0.6069 MB / 337.1 MB, free: 8.152 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.2662, allocations: 0.7199 MB / 337.8 MB, free: 7.406 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.078e-05/0.2663, allocations: 16.55 kB / 337.8 MB, free: 7.391 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.2663, allocations: 11.44 kB / 337.9 MB, free: 7.379 MB / 270.1 MB Notification: Performance of SimCode: time 1.643e-06/0.2663, allocations: 0 / 337.9 MB, free: 7.379 MB / 270.1 MB Notification: Performance of Templates: time 0.003907/0.2702, allocations: 1.448 MB / 339.3 MB, free: 5.934 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: