Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001626/0.001626, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.382/1.382, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001897/0.001896, allocations: 55.91 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2607, allocations: 46.62 MB / 324.8 MB, free: 2.145 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.00378/0.2646, allocations: 2.712 MB / 327.6 MB, free: 20 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2662, allocations: 0.8969 MB / 328.5 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.2664, allocations: 8.188 kB / 328.5 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.2666, allocations: 37.55 kB / 328.5 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.2669, allocations: 103 kB / 328.6 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.2672, allocations: 75.38 kB / 328.7 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.2675, allocations: 351.6 kB / 329 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.2677, allocations: 110.8 kB / 329.1 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.268, allocations: 138.2 kB / 329.3 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.2682, allocations: 148.7 kB / 329.4 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.2682, allocations: 29.5 kB / 329.4 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.214e-05/0.2683, allocations: 29.62 kB / 329.5 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.2683, allocations: 71.73 kB / 329.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.2685, allocations: 157.3 kB / 329.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.2688, allocations: 357.9 kB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2689, allocations: 1.312 kB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2689, allocations: 0 / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2689, allocations: 0 / 330 MB, free: 14.23 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009943/0.2699, allocations: 0.6002 MB / 330.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2699, allocations: 12.73 kB / 330.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.27, allocations: 36.94 kB / 330.7 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.2703, allocations: 261 kB / 330.9 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.2704, allocations: 24.22 kB / 331 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.2704, allocations: 26.19 kB / 331 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.271, allocations: 257.2 kB / 331.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.271, allocations: 0 / 331.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.271, allocations: 15.16 kB / 331.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.271, allocations: 5.719 kB / 331.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.2715, allocations: 206.5 kB / 331.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.2731, allocations: 0.9996 MB / 332.5 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.2735, allocations: 214 kB / 332.7 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.2738, allocations: 108.7 kB / 332.8 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.2738, allocations: 2.219 kB / 332.8 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.2738, allocations: 35.84 kB / 332.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.2738, allocations: 1.094 kB / 332.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.00538/0.2792, allocations: 1.548 MB / 334.4 MB, free: 10.44 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.2793, allocations: 55.34 kB / 334.4 MB, free: 10.37 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.2795, allocations: 229 kB / 334.6 MB, free: 10.14 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.2796, allocations: 33.7 kB / 334.7 MB, free: 10.1 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2797, allocations: 184.2 kB / 334.9 MB, free: 9.914 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/0.2798, allocations: 122.2 kB / 335 MB, free: 9.793 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2799, allocations: 62.08 kB / 335 MB, free: 9.723 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.28, allocations: 338.8 kB / 335.4 MB, free: 9.383 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.2802, allocations: 104.7 kB / 335.5 MB, free: 9.281 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.2805, allocations: 169.2 kB / 335.6 MB, free: 9.102 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.281, allocations: 283.8 kB / 335.9 MB, free: 8.809 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.281, allocations: 0 / 335.9 MB, free: 8.809 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001504/0.2825, allocations: 0.5409 MB / 336.4 MB, free: 8.254 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2825, allocations: 4 kB / 336.5 MB, free: 8.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2825, allocations: 7.875 kB / 336.5 MB, free: 8.242 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.2838, allocations: 241.5 kB / 336.7 MB, free: 8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.284, allocations: 55.91 kB / 336.8 MB, free: 7.945 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00485/0.2889, allocations: 4.141 MB / 340.9 MB, free: 3.527 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.2891, allocations: 12 kB / 340.9 MB, free: 3.516 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.2892, allocations: 15.98 kB / 340.9 MB, free: 3.5 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.2894, allocations: 153.8 kB / 341.1 MB, free: 3.34 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.2894, allocations: 27.72 kB / 341.1 MB, free: 3.312 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.359e-05/0.2895, allocations: 38.97 kB / 341.1 MB, free: 3.273 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2896, allocations: 4 kB / 341.1 MB, free: 3.27 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2896, allocations: 0 / 341.1 MB, free: 3.27 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2896, allocations: 7.922 kB / 341.1 MB, free: 3.262 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.2916, allocations: 0.9882 MB / 342.1 MB, free: 2.207 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2917, allocations: 0 / 342.1 MB, free: 2.207 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.2919, allocations: 43.91 kB / 342.2 MB, free: 2.164 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.2931, allocations: 241.5 kB / 342.4 MB, free: 1.922 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.2931, allocations: 8 kB / 342.4 MB, free: 1.914 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/0.2976, allocations: 4.118 MB / 346.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2976, allocations: 4.031 kB / 346.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.2994, allocations: 0.7327 MB / 347.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2995, allocations: 104.8 kB / 347.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.2995, allocations: 11.94 kB / 347.4 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.2998, allocations: 8 kB / 347.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.2999, allocations: 35.94 kB / 347.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.2999, allocations: 7.938 kB / 347.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.3001, allocations: 168.5 kB / 347.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3001, allocations: 0 / 347.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006307/0.3007, allocations: 104.1 kB / 347.7 MB, free: 12.3 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001706/0.3009, allocations: 103.2 kB / 347.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.3021, allocations: 0.575 MB / 348.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.3021, allocations: 0 / 348.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.3026, allocations: 429.1 kB / 348.8 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.303, allocations: 24.81 kB / 348.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.3044, allocations: 0.8259 MB / 349.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3047, allocations: 0.7759 MB / 350.4 MB, free: 9.465 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.3049, allocations: 22.28 kB / 350.4 MB, free: 9.445 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.3049, allocations: 23.42 kB / 350.5 MB, free: 9.422 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3049, allocations: 0 / 350.5 MB, free: 9.422 MB / 286.1 MB Notification: Performance of Templates: time 0.009935/0.3149, allocations: 5.397 MB / 355.9 MB, free: 4.023 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)