Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 109.8 kB / 17.06 MB, free: 6.016 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.001173/0.001173, allocations: 191 kB / 18 MB, free: 5.102 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.412/1.412, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001129/0.001129, allocations: 51.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08351/0.08465, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003991/0.08869, allocations: 2.765 MB / 377.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.09074, allocations: 1.278 MB / 378.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.09094, allocations: 4 kB / 378.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.09127, allocations: 67.41 kB / 378.6 MB, free: 452 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.09183, allocations: 230.7 kB / 378.8 MB, free: 220 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.09211, allocations: 111.8 kB / 378.9 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1805/0.2726, allocations: 462.7 kB / 379.4 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.2728, allocations: 84.11 kB / 379.5 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.2731, allocations: 186.6 kB / 379.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.2734, allocations: 221.7 kB / 379.9 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.2735, allocations: 40.31 kB / 379.9 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.2739, allocations: 163.7 kB / 380.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.996e-05/0.274, allocations: 94.98 kB / 380.1 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.2741, allocations: 184.1 kB / 380.3 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006771/0.2748, allocations: 0.5011 MB / 380.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2748, allocations: 0 / 380.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2748, allocations: 0 / 380.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.2748, allocations: 2.078 kB / 380.8 MB, free: 9.734 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001507/0.2763, allocations: 0.7205 MB / 381.6 MB, free: 9.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2764, allocations: 9.625 kB / 381.6 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.296e-05/0.2765, allocations: 35.67 kB / 381.6 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.277, allocations: 332.6 kB / 381.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.2771, allocations: 51.53 kB / 382 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.2772, allocations: 41.72 kB / 382 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.2779, allocations: 326.6 kB / 382.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.278, allocations: 2.375 kB / 382.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.278, allocations: 9.219 kB / 382.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.278, allocations: 6.859 kB / 382.4 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006946/0.2787, allocations: 301.7 kB / 382.6 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.2805, allocations: 1.167 MB / 383.8 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.2811, allocations: 290.2 kB / 384.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.2814, allocations: 162.9 kB / 384.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.2814, allocations: 2.812 kB / 384.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.2815, allocations: 37.33 kB / 384.3 MB, free: 8.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.684e-06/0.2815, allocations: 0 / 384.3 MB, free: 8.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.008788/0.2903, allocations: 2.428 MB / 386.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2903, allocations: 82.91 kB / 386.8 MB, free: 7.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.2908, allocations: 287.6 kB / 387.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.2908, allocations: 36.36 kB / 387.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/0.2909, allocations: 171.4 kB / 387.3 MB, free: 6.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.291, allocations: 155.5 kB / 387.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.2912, allocations: 81.69 kB / 387.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.2913, allocations: 340.2 kB / 387.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/0.2917, allocations: 167.6 kB / 388 MB, free: 6.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.2922, allocations: 227.1 kB / 388.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008017/0.293, allocations: 404.4 kB / 388.6 MB, free: 5.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.293, allocations: 4.688 kB / 388.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009937/0.294, allocations: 489.9 kB / 389.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.294, allocations: 10.34 kB / 389.1 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.294, allocations: 2.344 kB / 389.1 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2941, allocations: 4.125 kB / 389.1 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.2948, allocations: 114.7 kB / 389.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.2948, allocations: 3.516 kB / 389.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.2953, allocations: 40.09 kB / 389.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/0.2954, allocations: 18.91 kB / 389.3 MB, free: 5.695 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.2956, allocations: 151.6 kB / 389.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.2958, allocations: 31.45 kB / 389.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.2978, allocations: 0.6571 MB / 390.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.2979, allocations: 8.406 kB / 390.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2979, allocations: 0 / 390.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.2979, allocations: 4.672 kB / 390.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.3008, allocations: 1.278 MB / 391.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3009, allocations: 1.25 kB / 391.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.3013, allocations: 88.89 kB / 391.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.3028, allocations: 275.6 kB / 391.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.3029, allocations: 13.36 kB / 391.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/0.3065, allocations: 2.44 MB / 394.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3065, allocations: 0.7969 kB / 394.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.3088, allocations: 1.015 MB / 395.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.309, allocations: 151.7 kB / 395.4 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.309, allocations: 6.594 kB / 395.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.3095, allocations: 29.62 kB / 395.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3096, allocations: 35.11 kB / 395.5 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.3096, allocations: 14.44 kB / 395.5 MB, free: 1.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.3098, allocations: 212.7 kB / 395.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3098, allocations: 4 kB / 395.7 MB, free: 1.852 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000607/0.3105, allocations: 114.6 kB / 395.8 MB, free: 1.836 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002527/0.3107, allocations: 144 kB / 396 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009681/0.3117, allocations: 439.5 kB / 396.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3117, allocations: 0 / 396.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006228/0.3123, allocations: 384.6 kB / 396.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.3128, allocations: 54.64 kB / 396.8 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.3144, allocations: 0.961 MB / 397.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.3146, allocations: 0.7887 MB / 398.6 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.3149, allocations: 44.89 kB / 398.6 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.315, allocations: 37.56 kB / 398.6 MB, free: 68 kB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.315, allocations: 1.562 kB / 398.6 MB, free: 68 kB / 318.1 MB Notification: Performance of Templates: time 0.01176/0.3268, allocations: 6.426 MB / 405.1 MB, free: 13.55 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)