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.001355/0.001355, allocations: 110.9 kB / 16.62 MB, free: 6.812 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.001179/0.001179, allocations: 190 kB / 17.55 MB, free: 5.934 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.306/1.306, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.00125/0.00125, allocations: 51.94 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08548/0.08674, allocations: 46.62 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003942/0.09072, allocations: 2.807 MB / 328.9 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.09277, allocations: 1.267 MB / 330.2 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.09302, allocations: 4 kB / 330.2 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.09336, allocations: 59.61 kB / 330.3 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006666/0.09404, allocations: 203 kB / 330.5 MB, free: 432 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.09434, allocations: 95.89 kB / 330.6 MB, free: 336 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005013/0.09485, allocations: 459 kB / 331 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.09503, allocations: 92.91 kB / 331.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.09534, allocations: 183.4 kB / 331.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.09561, allocations: 223.1 kB / 331.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.09567, allocations: 40 kB / 331.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.09594, allocations: 155.9 kB / 331.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.09603, allocations: 91.72 kB / 331.8 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.09619, allocations: 191.1 kB / 332 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.09672, allocations: 0.4984 MB / 332.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.09674, allocations: 0 / 332.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09674, allocations: 0 / 332.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.09676, allocations: 0 / 332.5 MB, free: 14.43 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.001638/0.0984, allocations: 0.6977 MB / 333.2 MB, free: 13.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.09847, allocations: 15.97 kB / 333.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.09858, allocations: 36.56 kB / 333.2 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.09895, allocations: 333 kB / 333.5 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.09903, allocations: 46.83 kB / 333.6 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.0992, allocations: 44.48 kB / 333.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005983/0.0998, allocations: 320.5 kB / 333.9 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.09983, allocations: 0 / 333.9 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.09987, allocations: 12 kB / 334 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.09988, allocations: 4 kB / 334 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.1005, allocations: 302 kB / 334.3 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.1022, allocations: 1.171 MB / 335.4 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.1028, allocations: 289 kB / 335.7 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.1031, allocations: 165.6 kB / 335.9 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.1032, allocations: 3.984 kB / 335.9 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1032, allocations: 38.56 kB / 335.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.462e-06/0.1032, allocations: 3.938 kB / 335.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.009385/0.1126, allocations: 2.413 MB / 338.3 MB, free: 8.266 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.1127, allocations: 85.11 kB / 338.4 MB, free: 8.164 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.113, allocations: 284.9 kB / 338.7 MB, free: 7.871 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.113, allocations: 37.7 kB / 338.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.1131, allocations: 164.4 kB / 338.9 MB, free: 7.664 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.1132, allocations: 145.9 kB / 339 MB, free: 7.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.1134, allocations: 82.02 kB / 339.1 MB, free: 7.434 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1135, allocations: 342.8 kB / 339.4 MB, free: 7.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.1139, allocations: 168.7 kB / 339.6 MB, free: 6.926 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.1143, allocations: 226.7 kB / 339.8 MB, free: 6.688 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.1151, allocations: 411.5 kB / 340.2 MB, free: 6.266 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1151, allocations: 0 / 340.2 MB, free: 6.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009945/0.1161, allocations: 480.6 kB / 340.7 MB, free: 5.789 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1161, allocations: 11.44 kB / 340.7 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.1161, allocations: 4 kB / 340.7 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1162, allocations: 4 kB / 340.7 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.1168, allocations: 123.8 kB / 340.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1168, allocations: 4.156 kB / 340.9 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.1172, allocations: 35.92 kB / 340.9 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.1172, allocations: 19.98 kB / 340.9 MB, free: 5.594 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.0001645/0.1174, allocations: 153.7 kB / 341.1 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/0.1175, allocations: 31.62 kB / 341.1 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.1194, allocations: 0.6487 MB / 341.7 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.1194, allocations: 11.98 kB / 341.7 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1194, allocations: 3.938 kB / 341.7 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1194, allocations: 3.984 kB / 341.8 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.1225, allocations: 1.279 MB / 343 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1225, allocations: 4 kB / 343 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.123, allocations: 87.88 kB / 343.1 MB, free: 3.293 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.1246, allocations: 264.6 kB / 343.4 MB, free: 3.031 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.1247, allocations: 12 kB / 343.4 MB, free: 3.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.1286, allocations: 2.443 MB / 345.8 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1286, allocations: 3.938 kB / 345.8 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.1309, allocations: 1.006 MB / 346.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.1311, allocations: 156.6 kB / 347 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.1312, allocations: 8 kB / 347 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.1316, allocations: 27.98 kB / 347 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1317, allocations: 44.31 kB / 347.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.1318, allocations: 8 kB / 347.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.132, allocations: 212.5 kB / 347.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.132, allocations: 0 / 347.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005186/0.1325, allocations: 116 kB / 347.4 MB, free: 14.82 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.0002439/0.1328, allocations: 143.3 kB / 347.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.1338, allocations: 458 kB / 348 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1338, allocations: 0 / 348 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007274/0.1345, allocations: 392.8 kB / 348.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.1351, allocations: 36.8 kB / 348.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.1367, allocations: 1.104 MB / 349.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1371, allocations: 0.7891 MB / 350.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.1373, allocations: 42.95 kB / 350.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.1374, allocations: 39.41 kB / 350.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1374, allocations: 0 / 350.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Templates: time 0.009801/0.1472, allocations: 6.212 MB / 356.6 MB, free: 5.547 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)