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.006768/0.006768, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001606/0.001606, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.615/1.615, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.001353/0.001353, allocations: 42.44 kB / 326.5 MB, free: 14.47 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/0.09246, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004374/0.09687, allocations: 2.754 MB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.09909, allocations: 1.282 MB / 377.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.09945, allocations: 4 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.09984, allocations: 71.41 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008177/0.1007, allocations: 230.6 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.1011, allocations: 119.8 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.1018, allocations: 463 kB / 378.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.102, allocations: 80.58 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004631/0.1025, allocations: 195.3 kB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004829/0.103, allocations: 219.2 kB / 378.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.1031, allocations: 40 kB / 378.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.1035, allocations: 163.9 kB / 378.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1037, allocations: 91.72 kB / 378.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.1039, allocations: 187.1 kB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.1046, allocations: 0.4984 MB / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1046, allocations: 3.938 kB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1047, allocations: 0 / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.1047, allocations: 8 kB / 379.5 MB, free: 10.91 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.0019/0.1066, allocations: 0.6977 MB / 380.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.1067, allocations: 15.97 kB / 380.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.1068, allocations: 40.41 kB / 380.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.1075, allocations: 329.2 kB / 380.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/0.1076, allocations: 50.81 kB / 380.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.1077, allocations: 44.39 kB / 380.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.1084, allocations: 324.4 kB / 381 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1084, allocations: 0 / 381 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.1085, allocations: 12 kB / 381 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1085, allocations: 8 kB / 381 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.1092, allocations: 306 kB / 381.3 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.1111, allocations: 1.152 MB / 382.5 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.1117, allocations: 289 kB / 382.8 MB, free: 7.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.1121, allocations: 169.6 kB / 382.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1121, allocations: 4 kB / 382.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1121, allocations: 34.56 kB / 383 MB, free: 7.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.552e-06/0.1122, allocations: 0 / 383 MB, free: 7.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.01011/0.1223, allocations: 2.42 MB / 385.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.1224, allocations: 85.05 kB / 385.5 MB, free: 4.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.1228, allocations: 285 kB / 385.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.1228, allocations: 33.7 kB / 385.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.123, allocations: 168.3 kB / 386 MB, free: 4.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.1231, allocations: 145.9 kB / 386.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.1233, allocations: 78.11 kB / 386.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1234, allocations: 346.8 kB / 386.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.1239, allocations: 160.8 kB / 386.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.1243, allocations: 222.7 kB / 386.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.1252, allocations: 411.5 kB / 387.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1252, allocations: 0 / 387.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001077/0.1263, allocations: 492.7 kB / 387.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1263, allocations: 4 kB / 387.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1263, allocations: 4 kB / 387.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.1264, allocations: 4 kB / 387.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.127, allocations: 115.8 kB / 387.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.127, allocations: 7.938 kB / 387.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.1274, allocations: 36.02 kB / 387.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.1275, allocations: 15.92 kB / 388 MB, free: 2.094 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.0001854/0.1277, allocations: 157.7 kB / 388.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1278, allocations: 31.62 kB / 388.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.1298, allocations: 0.6525 MB / 388.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.1298, allocations: 4 kB / 388.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1298, allocations: 3.938 kB / 388.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.1298, allocations: 15.92 kB / 388.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/0.1332, allocations: 1.268 MB / 390.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1332, allocations: 0 / 390.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.1337, allocations: 91.89 kB / 390.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.1353, allocations: 272.5 kB / 390.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.1354, allocations: 12 kB / 390.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004119/0.1395, allocations: 2.443 MB / 392.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1395, allocations: 4.031 kB / 392.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.1418, allocations: 1.011 MB / 393.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.1421, allocations: 152.7 kB / 394.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.1421, allocations: 4 kB / 394.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.1426, allocations: 27.98 kB / 394.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.1428, allocations: 36.38 kB / 394.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.1428, allocations: 12 kB / 394.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.1431, allocations: 212.5 kB / 394.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1431, allocations: 7.938 kB / 394.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005794/0.1436, allocations: 119.9 kB / 394.5 MB, free: 11.32 MB / 334.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.0002953/0.144, allocations: 139.3 kB / 394.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.145, allocations: 442 kB / 395 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.145, allocations: 3.938 kB / 395 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.1458, allocations: 381.4 kB / 395.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.1463, allocations: 40.33 kB / 395.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1481, allocations: 0.9634 MB / 396.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1484, allocations: 0.7891 MB / 397.2 MB, free: 8.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.1486, allocations: 42.95 kB / 397.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.1487, allocations: 39.41 kB / 397.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1487, allocations: 0 / 397.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of Templates: time 0.012/0.1608, allocations: 6.424 MB / 403.7 MB, free: 1.984 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)