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.00665/0.006651, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001263/0.001264, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.475/1.475, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.001306/0.001306, allocations: 46.59 kB / 326.5 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1039, allocations: 46.62 MB / 373.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.005177/0.1091, allocations: 2.762 MB / 375.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.1118, allocations: 1.278 MB / 377.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.1121, allocations: 7.938 kB / 377.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.1126, allocations: 67.42 kB / 377.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008429/0.1134, allocations: 226.7 kB / 377.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.1138, allocations: 123.8 kB / 377.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006082/0.1144, allocations: 463 kB / 378.1 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.1147, allocations: 92.48 kB / 378.2 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.115, allocations: 183.5 kB / 378.3 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003794/0.1154, allocations: 219.1 kB / 378.6 MB, free: 12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.429e-05/0.1155, allocations: 48 kB / 378.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.1159, allocations: 159.9 kB / 378.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.116, allocations: 87.72 kB / 378.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.1163, allocations: 191.1 kB / 379 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.117, allocations: 0.5061 MB / 379.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1171, allocations: 0 / 379.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1171, allocations: 0 / 379.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.1171, allocations: 3.938 kB / 379.5 MB, free: 11.02 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.00206/0.1192, allocations: 0.6978 MB / 380.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1192, allocations: 8.031 kB / 380.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.1194, allocations: 40.47 kB / 380.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.1201, allocations: 325.1 kB / 380.6 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.575e-05/0.1202, allocations: 50.83 kB / 380.6 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.1204, allocations: 48.39 kB / 380.7 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008136/0.1212, allocations: 324.4 kB / 381 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.1212, allocations: 0 / 381 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.1213, allocations: 12 kB / 381 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1213, allocations: 8 kB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007223/0.122, allocations: 302 kB / 381.3 MB, free: 9.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.1241, allocations: 1.16 MB / 382.5 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.1248, allocations: 289 kB / 382.8 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.1252, allocations: 157.7 kB / 382.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1252, allocations: 7.984 kB / 382.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.1253, allocations: 46.48 kB / 383 MB, free: 7.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.1253, allocations: 0 / 383 MB, free: 7.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.009472/0.1348, allocations: 2.408 MB / 385.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.1349, allocations: 85.11 kB / 385.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.1353, allocations: 285 kB / 385.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.1354, allocations: 37.7 kB / 385.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.1355, allocations: 168.3 kB / 385.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.1357, allocations: 141.9 kB / 386.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.1358, allocations: 82.09 kB / 386.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.136, allocations: 338.8 kB / 386.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.1364, allocations: 168.8 kB / 386.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.1368, allocations: 226.6 kB / 386.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008349/0.1377, allocations: 411.5 kB / 387.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1377, allocations: 4 kB / 387.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001071/0.1388, allocations: 484.5 kB / 387.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.1388, allocations: 8 kB / 387.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1388, allocations: 0 / 387.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1389, allocations: 8.188 kB / 387.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.1395, allocations: 119.8 kB / 387.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.1395, allocations: 3.938 kB / 387.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.14, allocations: 31.98 kB / 387.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.14, allocations: 19.98 kB / 387.9 MB, free: 2.199 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.0002669/0.1403, allocations: 161.6 kB / 388.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.1404, allocations: 31.62 kB / 388.1 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.1425, allocations: 0.6524 MB / 388.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.1426, allocations: 8 kB / 388.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.1426, allocations: 3.984 kB / 388.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1426, allocations: 0 / 388.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.1461, allocations: 1.279 MB / 390.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1461, allocations: 4 kB / 390.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.1465, allocations: 83.88 kB / 390.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.1481, allocations: 268.5 kB / 390.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.1482, allocations: 23.92 kB / 390.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004089/0.1523, allocations: 2.435 MB / 392.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1523, allocations: 0 / 392.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.1546, allocations: 1.011 MB / 393.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.1548, allocations: 144.7 kB / 394 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.1548, allocations: 8 kB / 394 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.1553, allocations: 31.98 kB / 394.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.1554, allocations: 36.38 kB / 394.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.1555, allocations: 19.94 kB / 394.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.1557, allocations: 212.5 kB / 394.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1557, allocations: 0 / 394.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005766/0.1563, allocations: 119.9 kB / 394.5 MB, free: 11.43 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.0003085/0.1566, allocations: 147.2 kB / 394.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.1576, allocations: 438.1 kB / 395 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.1577, allocations: 4 kB / 395 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007304/0.1584, allocations: 377 kB / 395.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.1589, allocations: 44.7 kB / 395.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1608, allocations: 0.9634 MB / 396.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.1612, allocations: 0.7852 MB / 397.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.1614, allocations: 42.95 kB / 397.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.1615, allocations: 39.42 kB / 397.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1615, allocations: 0 / 397.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of Templates: time 0.01257/0.1741, allocations: 6.428 MB / 403.7 MB, free: 2.09 MB / 334.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)