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.0008979/0.0008978, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.00112/0.00112, allocations: 168.7 kB / 15.95 MB, free: 204 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.588/1.588, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.0004942/0.0004944, allocations: 8 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3217, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00272/0.3245, allocations: 2.344 MB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.3266, allocations: 1.186 MB / 330 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.3267, allocations: 6.531 kB / 330 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.327, allocations: 55.45 kB / 330.1 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.3276, allocations: 180.7 kB / 330.3 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.3278, allocations: 88.2 kB / 330.3 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.3283, allocations: 411.6 kB / 330.7 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.3285, allocations: 68.55 kB / 330.8 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.3287, allocations: 156.1 kB / 331 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.329, allocations: 198.6 kB / 331.2 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.3291, allocations: 27.34 kB / 331.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.3294, allocations: 133.2 kB / 331.3 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.812e-05/0.3295, allocations: 73.84 kB / 331.4 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.555e-05/0.3296, allocations: 86.42 kB / 331.5 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.33, allocations: 379.1 kB / 331.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.33, allocations: 1 kB / 331.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.33, allocations: 0 / 331.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3301, allocations: 0 / 331.8 MB, free: 13.39 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00152/0.3316, allocations: 0.6507 MB / 332.5 MB, free: 12.85 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3316, allocations: 9.156 kB / 332.5 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.3317, allocations: 33.78 kB / 332.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.3322, allocations: 321.5 kB / 332.8 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-05/0.3323, allocations: 51.64 kB / 332.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.3325, allocations: 39.39 kB / 332.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.3331, allocations: 318.9 kB / 333.2 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3331, allocations: 0 / 333.2 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.3332, allocations: 15 kB / 333.3 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.3332, allocations: 5.844 kB / 333.3 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.3339, allocations: 310.9 kB / 333.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.3357, allocations: 1.175 MB / 334.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006137/0.3363, allocations: 312.9 kB / 335.1 MB, free: 10.72 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.3367, allocations: 169.6 kB / 335.2 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.3367, allocations: 4 kB / 335.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.3368, allocations: 38.5 kB / 335.3 MB, free: 10.5 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.3368, allocations: 0 / 335.3 MB, free: 10.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.008828/0.3456, allocations: 2.53 MB / 337.8 MB, free: 7.891 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.3457, allocations: 81.11 kB / 337.9 MB, free: 7.793 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.3461, allocations: 285 kB / 338.1 MB, free: 7.504 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.3462, allocations: 33.7 kB / 338.2 MB, free: 7.465 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3463, allocations: 160.5 kB / 338.3 MB, free: 7.305 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.3464, allocations: 149.8 kB / 338.5 MB, free: 7.156 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.3465, allocations: 8 kB / 338.5 MB, free: 7.148 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3467, allocations: 346.8 kB / 338.8 MB, free: 6.801 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.3471, allocations: 168.8 kB / 339 MB, free: 6.637 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.3475, allocations: 242.6 kB / 339.2 MB, free: 6.379 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.348, allocations: 193.5 kB / 339.4 MB, free: 6.191 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.348, allocations: 0 / 339.4 MB, free: 6.191 MB / 270.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001076/0.3491, allocations: 0.4932 MB / 339.9 MB, free: 5.691 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.3491, allocations: 4 kB / 339.9 MB, free: 5.688 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.3491, allocations: 7.984 kB / 339.9 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.3491, allocations: 4 kB / 339.9 MB, free: 5.676 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/0.3498, allocations: 123.8 kB / 340 MB, free: 5.555 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.3498, allocations: 7.984 kB / 340.1 MB, free: 5.547 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.3502, allocations: 39.95 kB / 340.1 MB, free: 5.508 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.3503, allocations: 23.98 kB / 340.1 MB, free: 5.484 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002118/0.3505, allocations: 149.7 kB / 340.3 MB, free: 5.328 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/0.3506, allocations: 35.61 kB / 340.3 MB, free: 5.293 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.3525, allocations: 0.6954 MB / 341 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.3525, allocations: 4 kB / 341 MB, free: 4.582 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3525, allocations: 0 / 341 MB, free: 4.582 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3525, allocations: 3.984 kB / 341 MB, free: 4.578 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.3557, allocations: 1.314 MB / 342.3 MB, free: 3.207 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3557, allocations: 0 / 342.3 MB, free: 3.207 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.3562, allocations: 95.88 kB / 342.4 MB, free: 3.113 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/0.3579, allocations: 292.5 kB / 342.7 MB, free: 2.824 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.358, allocations: 12 kB / 342.7 MB, free: 2.812 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004254/0.3622, allocations: 2.268 MB / 345 MB, free: 416 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.3623, allocations: 4.031 kB / 345 MB, free: 412 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.3647, allocations: 1.046 MB / 346 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.365, allocations: 156.7 kB / 346.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.3651, allocations: 8 kB / 346.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.3655, allocations: 31.94 kB / 346.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.3657, allocations: 36.38 kB / 346.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.3657, allocations: 16.19 kB / 346.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003572/0.3661, allocations: 212.5 kB / 346.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3661, allocations: 7.938 kB / 346.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007452/0.3668, allocations: 112 kB / 346.6 MB, free: 14.75 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005047/0.3673, allocations: 139 kB / 346.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.3686, allocations: 454.4 kB / 347.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3686, allocations: 0 / 347.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008777/0.3695, allocations: 389.2 kB / 347.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.3701, allocations: 40.42 kB / 347.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3722, allocations: 1.211 MB / 348.8 MB, free: 12.49 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.3726, allocations: 0.7855 MB / 349.6 MB, free: 11.67 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002622/0.3729, allocations: 42.95 kB / 349.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3731, allocations: 39.41 kB / 349.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3731, allocations: 0 / 349.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of Templates: time 0.01167/0.3847, allocations: 5.737 MB / 355.4 MB, free: 5.852 MB / 286.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)