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.001432/0.001433, allocations: 106.4 kB / 16.51 MB, free: 6.707 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.001687/0.001687, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.387/1.387, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.001308/0.001308, allocations: 48.41 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09735, allocations: 46.63 MB / 326 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004292/0.1017, allocations: 2.803 MB / 328.8 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1037, allocations: 1.29 MB / 330.1 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.1039, allocations: 4 kB / 330.1 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.1042, allocations: 55.61 kB / 330.1 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004792/0.1047, allocations: 191 kB / 330.3 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.1049, allocations: 103.9 kB / 330.4 MB, free: 404 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.1053, allocations: 435 kB / 330.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.1055, allocations: 81.34 kB / 330.9 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.1057, allocations: 167.4 kB / 331.1 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.106, allocations: 207.1 kB / 331.3 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.519e-05/0.106, allocations: 28 kB / 331.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.1063, allocations: 143.9 kB / 331.4 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.249e-05/0.1064, allocations: 75.72 kB / 331.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.1065, allocations: 171.1 kB / 331.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.107, allocations: 490.4 kB / 332.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1071, allocations: 0 / 332.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1071, allocations: 3.938 kB / 332.2 MB, free: 14.63 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1071, allocations: 0 / 332.2 MB, free: 14.63 MB / 286.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.001656/0.1087, allocations: 0.7055 MB / 332.9 MB, free: 13.88 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1088, allocations: 8.031 kB / 332.9 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.1089, allocations: 36.56 kB / 332.9 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.1093, allocations: 333 kB / 333.2 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/0.1094, allocations: 50.83 kB / 333.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.1096, allocations: 36.48 kB / 333.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.1102, allocations: 328.4 kB / 333.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1102, allocations: 0 / 333.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.1103, allocations: 12 kB / 333.7 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1103, allocations: 4 kB / 333.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006623/0.1109, allocations: 306 kB / 334 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.1127, allocations: 1.179 MB / 335.1 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.1133, allocations: 293 kB / 335.4 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.1137, allocations: 161.6 kB / 335.6 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.1137, allocations: 4 kB / 335.6 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.1137, allocations: 38.56 kB / 335.6 MB, free: 10.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.1138, allocations: 0 / 335.6 MB, free: 10.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.009504/0.1233, allocations: 2.413 MB / 338 MB, free: 8.461 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.1233, allocations: 81.11 kB / 338.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.1237, allocations: 288.9 kB / 338.4 MB, free: 8.066 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.1237, allocations: 33.7 kB / 338.4 MB, free: 8.027 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1238, allocations: 168.4 kB / 338.6 MB, free: 7.859 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.124, allocations: 145.9 kB / 338.7 MB, free: 7.715 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1241, allocations: 86.02 kB / 338.8 MB, free: 7.625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1242, allocations: 338.8 kB / 339.2 MB, free: 7.285 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.1246, allocations: 168.7 kB / 339.3 MB, free: 7.121 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.1251, allocations: 230.7 kB / 339.5 MB, free: 6.875 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007947/0.1259, allocations: 399.6 kB / 339.9 MB, free: 6.465 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1259, allocations: 0 / 339.9 MB, free: 6.465 MB / 286.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001011/0.1269, allocations: 492.7 kB / 340.4 MB, free: 5.977 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1269, allocations: 7.438 kB / 340.4 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1269, allocations: 4 kB / 340.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.127, allocations: 0 / 340.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.1276, allocations: 119.8 kB / 340.5 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.1276, allocations: 4 kB / 340.5 MB, free: 5.848 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.128, allocations: 35.95 kB / 340.6 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.1281, allocations: 15.98 kB / 340.6 MB, free: 5.797 MB / 286.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.0001875/0.1283, allocations: 157.7 kB / 340.8 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.1284, allocations: 39.55 kB / 340.8 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.1303, allocations: 0.6487 MB / 341.4 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1303, allocations: 8 kB / 341.4 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1303, allocations: 0 / 341.4 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1303, allocations: 3.984 kB / 341.5 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.1336, allocations: 1.287 MB / 342.7 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1336, allocations: 0 / 342.7 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/0.1341, allocations: 87.88 kB / 342.8 MB, free: 3.492 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/0.1357, allocations: 268.5 kB / 343.1 MB, free: 3.227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.1358, allocations: 12 kB / 343.1 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003931/0.1397, allocations: 2.213 MB / 345.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1397, allocations: 4.031 kB / 345.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.1421, allocations: 1.006 MB / 346.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.1423, allocations: 156.6 kB / 346.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.1424, allocations: 7.984 kB / 346.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.1429, allocations: 27.98 kB / 346.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.143, allocations: 36.38 kB / 346.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.1431, allocations: 12 kB / 346.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002502/0.1433, allocations: 216.5 kB / 346.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1433, allocations: 0 / 346.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006485/0.144, allocations: 116.2 kB / 346.9 MB, free: 15.25 MB / 302.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.0003856/0.1444, allocations: 143.1 kB / 347 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1454, allocations: 434.1 kB / 347.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1454, allocations: 0 / 347.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007277/0.1462, allocations: 381.4 kB / 347.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.1468, allocations: 44.36 kB / 347.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.1488, allocations: 1.102 MB / 349 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1491, allocations: 0.7932 MB / 349.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.1494, allocations: 38.97 kB / 349.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.1496, allocations: 39.41 kB / 349.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1496, allocations: 0 / 349.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Templates: time 0.01109/0.1607, allocations: 5.919 MB / 355.8 MB, free: 6.301 MB / 302.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)