Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_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.006397/0.006397, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.001214/0.001214, allocations: 205.2 kB / 16.68 MB, free: 5.969 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001082/0.001082, allocations: 51.94 kB / 326.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08298/0.08407, allocations: 46.62 MB / 373.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003686/0.08779, allocations: 2.761 MB / 375.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.08953, allocations: 1.278 MB / 377.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.08967, allocations: 4 kB / 377.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.08992, allocations: 67.36 kB / 377.3 MB, free: 456 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.09041, allocations: 226.7 kB / 377.5 MB, free: 228 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.09067, allocations: 119.8 kB / 377.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1834/0.274, allocations: 461 kB / 378.1 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.2743, allocations: 82.78 kB / 378.1 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.2747, allocations: 184.3 kB / 378.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.275, allocations: 227.7 kB / 378.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.083e-05/0.2751, allocations: 40.47 kB / 378.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.2754, allocations: 160.7 kB / 378.7 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.219e-05/0.2755, allocations: 94.84 kB / 378.8 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.2757, allocations: 184.6 kB / 379 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.2763, allocations: 0.4984 MB / 379.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2764, allocations: 0.5625 kB / 379.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2764, allocations: 0 / 379.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2764, allocations: 1.375 kB / 379.5 MB, free: 9.723 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.001578/0.278, allocations: 0.7186 MB / 380.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.278, allocations: 10.56 kB / 380.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.2781, allocations: 35.94 kB / 380.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.2786, allocations: 334.7 kB / 380.6 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/0.2787, allocations: 54.34 kB / 380.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.2789, allocations: 39.47 kB / 380.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007459/0.2796, allocations: 328.9 kB / 381 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.2797, allocations: 1.5 kB / 381 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.2797, allocations: 9.031 kB / 381 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.2797, allocations: 7.047 kB / 381 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007176/0.2805, allocations: 304.6 kB / 381.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2821, allocations: 1.158 MB / 382.5 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/0.2827, allocations: 286.7 kB / 382.8 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.2831, allocations: 165 kB / 382.9 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.2831, allocations: 10.36 kB / 382.9 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.2831, allocations: 37.02 kB / 383 MB, free: 8.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.634e-06/0.2832, allocations: 0 / 383 MB, free: 8.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.009468/0.2926, allocations: 2.425 MB / 385.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.2927, allocations: 82.47 kB / 385.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.293, allocations: 288.2 kB / 385.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.2931, allocations: 36.47 kB / 385.8 MB, free: 6.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.2932, allocations: 171 kB / 386 MB, free: 6.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.584e-05/0.2933, allocations: 153.4 kB / 386.1 MB, free: 6.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.2934, allocations: 83.11 kB / 386.2 MB, free: 6.602 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.2935, allocations: 339.7 kB / 386.5 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.2939, allocations: 163.5 kB / 386.7 MB, free: 6.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.2943, allocations: 232.2 kB / 386.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007806/0.2951, allocations: 400.5 kB / 387.3 MB, free: 5.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2951, allocations: 5.062 kB / 387.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009941/0.2961, allocations: 492.5 kB / 387.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2961, allocations: 8.969 kB / 387.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2961, allocations: 4.484 kB / 387.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2962, allocations: 3.938 kB / 387.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.2967, allocations: 121.9 kB / 387.9 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2968, allocations: 4.719 kB / 387.9 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.2971, allocations: 32.08 kB / 388 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.2972, allocations: 19.19 kB / 388 MB, free: 5.676 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.0001461/0.2973, allocations: 154.6 kB / 388.1 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.2974, allocations: 39.25 kB / 388.2 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.2993, allocations: 0.6525 MB / 388.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.2993, allocations: 6.203 kB / 388.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2993, allocations: 2.312 kB / 388.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.2993, allocations: 3.281 kB / 388.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.3023, allocations: 1.278 MB / 390.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3024, allocations: 1.062 kB / 390.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.3028, allocations: 89.73 kB / 390.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/0.3044, allocations: 271.9 kB / 390.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.3044, allocations: 13.39 kB / 390.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/0.3081, allocations: 2.438 MB / 392.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3081, allocations: 0 / 392.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.3105, allocations: 1.013 MB / 393.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.3107, allocations: 151.5 kB / 394.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.3108, allocations: 8.438 kB / 394.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.3113, allocations: 31.64 kB / 394.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.3115, allocations: 37.81 kB / 394.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.3115, allocations: 15.25 kB / 394.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.3117, allocations: 212.7 kB / 394.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3118, allocations: 0 / 394.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006805/0.3124, allocations: 115.7 kB / 394.5 MB, free: 1.816 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.0003267/0.3128, allocations: 149.3 kB / 394.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009862/0.3138, allocations: 434.6 kB / 395.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3138, allocations: 4.375 kB / 395.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007327/0.3145, allocations: 387.4 kB / 395.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.315, allocations: 47.67 kB / 395.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3169, allocations: 0.9698 MB / 396.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3172, allocations: 0.7861 MB / 397.2 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000241/0.3174, allocations: 45.36 kB / 397.3 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.3176, allocations: 38.34 kB / 397.3 MB, free: 48 kB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3176, allocations: 0 / 397.3 MB, free: 48 kB / 318.1 MB Notification: Performance of Templates: time 0.01466/0.3323, allocations: 6.424 MB / 403.7 MB, free: 13.52 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)