Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.009639/0.009639, allocations: 101.8 kB / 15.73 MB, free: 5.609 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.001446/0.001447, allocations: 193 kB / 16.67 MB, free: 5.527 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.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001198/0.001199, allocations: 51.92 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09628, allocations: 46.62 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003833/0.1002, allocations: 2.765 MB / 375.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.102, allocations: 1.278 MB / 377.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1022, allocations: 4 kB / 377.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.1024, allocations: 63.42 kB / 377.3 MB, free: 440 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005316/0.103, allocations: 222.7 kB / 377.5 MB, free: 216 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1033, allocations: 127.8 kB / 377.6 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1855/0.2888, allocations: 456 kB / 378.1 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.2891, allocations: 90.22 kB / 378.1 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.2895, allocations: 185.4 kB / 378.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.2899, allocations: 215.8 kB / 378.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.969e-05/0.29, allocations: 39.59 kB / 378.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.2904, allocations: 166 kB / 378.7 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.615e-05/0.2905, allocations: 96.75 kB / 378.8 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.2907, allocations: 181.2 kB / 379 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007967/0.2915, allocations: 0.5042 MB / 379.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2916, allocations: 0 / 379.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2916, allocations: 1.219 kB / 379.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.2916, allocations: 0 / 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.001619/0.2932, allocations: 0.7166 MB / 380.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.2933, allocations: 9.25 kB / 380.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.2934, allocations: 36.08 kB / 380.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.2939, allocations: 338.4 kB / 380.6 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.03e-05/0.294, allocations: 52.19 kB / 380.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.2942, allocations: 40.56 kB / 380.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.2949, allocations: 326.9 kB / 381 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2949, allocations: 0 / 381 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.2949, allocations: 14.25 kB / 381 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.295, allocations: 7.219 kB / 381 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007281/0.2957, allocations: 302.2 kB / 381.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.2974, allocations: 1.162 MB / 382.5 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.2981, allocations: 291.1 kB / 382.8 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.2984, allocations: 162.5 kB / 382.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.2985, allocations: 2.406 kB / 382.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2985, allocations: 37.5 kB / 383 MB, free: 8.168 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.2985, allocations: 0 / 383 MB, free: 8.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.009076/0.3076, allocations: 2.427 MB / 385.4 MB, free: 7.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.3077, allocations: 85.27 kB / 385.5 MB, free: 7.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.3081, allocations: 292.4 kB / 385.8 MB, free: 6.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.3082, allocations: 32.72 kB / 385.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3083, allocations: 167.9 kB / 386 MB, free: 6.777 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.3084, allocations: 151.7 kB / 386.1 MB, free: 6.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.3086, allocations: 83.77 kB / 386.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3087, allocations: 341.1 kB / 386.5 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.3092, allocations: 165.9 kB / 386.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.3097, allocations: 229.9 kB / 386.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/0.3106, allocations: 410.3 kB / 387.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3106, allocations: 3.938 kB / 387.3 MB, free: 5.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001129/0.3117, allocations: 481.6 kB / 387.8 MB, free: 5.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3118, allocations: 6.844 kB / 387.8 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3118, allocations: 7.125 kB / 387.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.3118, allocations: 3.562 kB / 387.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.3124, allocations: 120 kB / 387.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3125, allocations: 3.312 kB / 387.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.3128, allocations: 32.23 kB / 388 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.3129, allocations: 21.02 kB / 388 MB, free: 5.684 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.0001522/0.3131, allocations: 158 kB / 388.1 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/0.3132, allocations: 34.59 kB / 388.2 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.315, allocations: 0.6472 MB / 388.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.3151, allocations: 6.328 kB / 388.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3151, allocations: 2.812 kB / 388.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.3151, allocations: 6.578 kB / 388.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.3182, allocations: 1.279 MB / 390.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3182, allocations: 0.7031 kB / 390.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.3186, allocations: 96.41 kB / 390.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/0.3202, allocations: 268 kB / 390.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.3203, allocations: 13.7 kB / 390.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.3239, allocations: 2.442 MB / 392.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3239, allocations: 0.7969 kB / 392.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.3262, allocations: 1.005 MB / 393.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.3263, allocations: 154.6 kB / 394.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.3264, allocations: 7.734 kB / 394.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.3268, allocations: 29.08 kB / 394.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.327, allocations: 44.08 kB / 394.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.3271, allocations: 10.56 kB / 394.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.3273, allocations: 212 kB / 394.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3273, allocations: 0 / 394.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005912/0.3279, allocations: 118.3 kB / 394.5 MB, free: 1.824 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.0002249/0.3281, allocations: 145 kB / 394.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000954/0.3291, allocations: 432.7 kB / 395.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3291, allocations: 4.438 kB / 395.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006473/0.3298, allocations: 387.8 kB / 395.4 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.3302, allocations: 48.55 kB / 395.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.3319, allocations: 0.9636 MB / 396.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.3322, allocations: 0.79 MB / 397.2 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002209/0.3324, allocations: 42.47 kB / 397.3 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3325, allocations: 38.58 kB / 397.3 MB, free: 56 kB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3325, allocations: 0 / 397.3 MB, free: 56 kB / 318.1 MB Notification: Performance of Templates: time 0.01339/0.3459, allocations: 6.429 MB / 403.7 MB, free: 13.53 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)