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.001107/0.001107, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001478/0.001478, allocations: 172.7 kB / 15.95 MB, free: 208 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.444/1.444, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004641/0.0004641, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2755, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.002813/0.2784, allocations: 2.263 MB / 328.7 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2799, allocations: 0.8069 MB / 329.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.28, allocations: 7.938 kB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.2803, allocations: 39.72 kB / 329.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.2806, allocations: 90.53 kB / 329.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.2809, allocations: 75.19 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.2813, allocations: 314.1 kB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.2815, allocations: 87.61 kB / 330.1 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.2817, allocations: 112.7 kB / 330.2 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.2819, allocations: 127.8 kB / 330.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.2819, allocations: 16.19 kB / 330.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.401e-05/0.282, allocations: 15.28 kB / 330.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.282, allocations: 52.33 kB / 330.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.2821, allocations: 76.14 kB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.2823, allocations: 267.5 kB / 330.8 MB, free: 14.12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.2824, allocations: 5.062 kB / 330.8 MB, free: 14.12 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2824, allocations: 0 / 330.8 MB, free: 14.12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2824, allocations: 0 / 330.8 MB, free: 14.12 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.0009103/0.2833, allocations: 0.5541 MB / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2833, allocations: 8.219 kB / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.2834, allocations: 36.69 kB / 331.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.2837, allocations: 247.7 kB / 331.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.2838, allocations: 27.33 kB / 331.7 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.2838, allocations: 25.19 kB / 331.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.2843, allocations: 255.7 kB / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2844, allocations: 0 / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.2844, allocations: 10.22 kB / 331.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2844, allocations: 7.375 kB / 332 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.2848, allocations: 215.8 kB / 332.2 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.2864, allocations: 1.016 MB / 333.2 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.2868, allocations: 206.5 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.2871, allocations: 113.6 kB / 333.5 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.2871, allocations: 6.094 kB / 333.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.2871, allocations: 33 kB / 333.5 MB, free: 11.97 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/0.2871, allocations: 0 / 333.5 MB, free: 11.97 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.004676/0.2918, allocations: 1.553 MB / 335.1 MB, free: 10.58 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.2919, allocations: 59.41 kB / 335.1 MB, free: 10.51 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.2921, allocations: 229 kB / 335.4 MB, free: 10.28 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.2921, allocations: 33.7 kB / 335.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2923, allocations: 176.2 kB / 335.6 MB, free: 10.06 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.301e-05/0.2923, allocations: 126.1 kB / 335.7 MB, free: 9.938 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.2924, allocations: 4 kB / 335.7 MB, free: 9.934 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2925, allocations: 342.8 kB / 336 MB, free: 9.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.2927, allocations: 112.7 kB / 336.1 MB, free: 9.477 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.293, allocations: 157.5 kB / 336.3 MB, free: 9.309 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.2933, allocations: 127.8 kB / 336.4 MB, free: 9.184 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2933, allocations: 4 kB / 336.4 MB, free: 9.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001453/0.2947, allocations: 0.5412 MB / 337 MB, free: 8.625 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2948, allocations: 4 kB / 337 MB, free: 8.621 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2948, allocations: 0 / 337 MB, free: 8.621 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.2961, allocations: 253.5 kB / 337.2 MB, free: 8.367 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.2964, allocations: 55.91 kB / 337.3 MB, free: 8.312 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.3007, allocations: 3.752 MB / 341 MB, free: 4.289 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.301, allocations: 24.08 kB / 341 MB, free: 4.266 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.301, allocations: 8 kB / 341.1 MB, free: 4.258 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.3012, allocations: 145.8 kB / 341.2 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.3012, allocations: 27.72 kB / 341.2 MB, free: 4.078 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.706e-05/0.3013, allocations: 42.95 kB / 341.3 MB, free: 4.035 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.3013, allocations: 4 kB / 341.3 MB, free: 4.031 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3014, allocations: 3.953 kB / 341.3 MB, free: 4.027 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3014, allocations: 4 kB / 341.3 MB, free: 4.023 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.3033, allocations: 0.9767 MB / 342.3 MB, free: 2.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3033, allocations: 4 kB / 342.3 MB, free: 2.977 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.3035, allocations: 55.97 kB / 342.3 MB, free: 2.922 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.3048, allocations: 245.5 kB / 342.6 MB, free: 2.676 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.3048, allocations: 8 kB / 342.6 MB, free: 2.668 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0042/0.309, allocations: 3.732 MB / 346.3 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3091, allocations: 8.094 kB / 346.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.3107, allocations: 0.7253 MB / 347 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.3108, allocations: 108.9 kB / 347.1 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.3109, allocations: 8 kB / 347.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.3111, allocations: 15.98 kB / 347.2 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.3112, allocations: 31.95 kB / 347.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.3112, allocations: 8 kB / 347.2 MB, free: 13.72 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.3114, allocations: 156.5 kB / 347.3 MB, free: 13.57 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3114, allocations: 0 / 347.3 MB, free: 13.57 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006063/0.312, allocations: 112 kB / 347.5 MB, free: 13.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000126/0.3121, allocations: 107.2 kB / 347.6 MB, free: 13.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.3131, allocations: 0.5865 MB / 348.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3131, allocations: 0 / 348.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.3137, allocations: 433.5 kB / 348.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.3141, allocations: 20.44 kB / 348.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.3155, allocations: 0.8474 MB / 349.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.3158, allocations: 0.7763 MB / 350.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.3159, allocations: 22.3 kB / 350.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.316, allocations: 19.38 kB / 350.3 MB, free: 10.54 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.316, allocations: 3.938 kB / 350.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of Templates: time 0.01003/0.326, allocations: 5.107 MB / 355.4 MB, free: 5.426 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)