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.0009465/0.0009466, allocations: 92.25 kB / 16.65 MB, free: 6.59 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.0009743/0.0009743, allocations: 182.2 kB / 17.56 MB, free: 6.203 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.352/1.352, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.000433/0.000433, allocations: 12 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09285, allocations: 47.59 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003269/0.09616, allocations: 2.445 MB / 330.8 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.09828, allocations: 1.275 MB / 332 MB, free: 0 / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.09844, allocations: 8.047 kB / 332.1 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.09872, allocations: 59.59 kB / 332.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000467/0.0992, allocations: 187 kB / 332.3 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.09943, allocations: 107.8 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.09982, allocations: 430.9 kB / 332.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.09999, allocations: 69.38 kB / 332.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.1002, allocations: 167.4 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1005, allocations: 199.2 kB / 333.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.1005, allocations: 20 kB / 333.3 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.1008, allocations: 151.8 kB / 333.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.1009, allocations: 67.72 kB / 333.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.101, allocations: 196.9 kB / 333.7 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.1015, allocations: 486.2 kB / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1015, allocations: 0 / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1015, allocations: 0 / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1015, allocations: 0 / 334.1 MB, free: 13.89 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.001482/0.103, allocations: 0.6471 MB / 334.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1031, allocations: 8.031 kB / 334.8 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.249e-05/0.1032, allocations: 36.56 kB / 334.8 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.1036, allocations: 325 kB / 335.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-05/0.1037, allocations: 58.75 kB / 335.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.1038, allocations: 36.48 kB / 335.3 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.1044, allocations: 332.5 kB / 335.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1045, allocations: 0 / 335.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.1045, allocations: 11.94 kB / 335.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1045, allocations: 8 kB / 335.6 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/0.1052, allocations: 318 kB / 335.9 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.1069, allocations: 1.171 MB / 337.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.1075, allocations: 301 kB / 337.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.1078, allocations: 169.6 kB / 337.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1079, allocations: 7.984 kB / 337.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1079, allocations: 46.5 kB / 337.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.1079, allocations: 0 / 337.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.009383/0.1173, allocations: 2.534 MB / 340.1 MB, free: 7.617 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.1174, allocations: 85.11 kB / 340.2 MB, free: 7.516 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1177, allocations: 289 kB / 340.5 MB, free: 7.219 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.1178, allocations: 33.7 kB / 340.5 MB, free: 7.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.945e-05/0.1179, allocations: 160.5 kB / 340.7 MB, free: 7.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.118, allocations: 149.9 kB / 340.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.1181, allocations: 37.7 kB / 340.9 MB, free: 6.828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1182, allocations: 338.8 kB / 341.2 MB, free: 6.488 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.1186, allocations: 172.8 kB / 341.4 MB, free: 6.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.119, allocations: 242.6 kB / 341.6 MB, free: 6.066 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008439/0.1199, allocations: 431.5 kB / 342 MB, free: 5.625 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1199, allocations: 0 / 342 MB, free: 5.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00102/0.1209, allocations: 0.5005 MB / 342.5 MB, free: 5.117 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.121, allocations: 4 kB / 342.5 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.121, allocations: 0 / 342.5 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.121, allocations: 8 kB / 342.5 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/0.1216, allocations: 128 kB / 342.7 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.629e-06/0.1216, allocations: 4 kB / 342.7 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.122, allocations: 43.91 kB / 342.7 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.1221, allocations: 19.98 kB / 342.7 MB, free: 4.914 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.0001693/0.1222, allocations: 153.7 kB / 342.9 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.1223, allocations: 31.62 kB / 342.9 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.1242, allocations: 0.6837 MB / 343.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1243, allocations: 4 kB / 343.6 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1243, allocations: 0 / 343.6 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1243, allocations: 11.98 kB / 343.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.1274, allocations: 1.318 MB / 344.9 MB, free: 2.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1275, allocations: 0 / 344.9 MB, free: 2.633 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.1279, allocations: 91.89 kB / 345 MB, free: 2.543 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/0.1296, allocations: 288.5 kB / 345.3 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.1297, allocations: 15.98 kB / 345.3 MB, free: 2.242 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003976/0.1337, allocations: 2.276 MB / 347.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1337, allocations: 96 / 347.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.1361, allocations: 1.061 MB / 348.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.1363, allocations: 148.5 kB / 348.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.1363, allocations: 12 kB / 348.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.1368, allocations: 35.98 kB / 348.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.1369, allocations: 36.38 kB / 348.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.137, allocations: 15.98 kB / 348.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.1372, allocations: 212.5 kB / 349.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1372, allocations: 0 / 349.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005767/0.1378, allocations: 116 kB / 349.2 MB, free: 14.16 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.0003009/0.1381, allocations: 143.2 kB / 349.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.1392, allocations: 454 kB / 349.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1392, allocations: 0 / 349.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007776/0.14, allocations: 401.4 kB / 350.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.1406, allocations: 40.48 kB / 350.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.1426, allocations: 1.217 MB / 351.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.1431, allocations: 0.7816 MB / 352.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.1433, allocations: 46.94 kB / 352.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.1435, allocations: 35.42 kB / 352.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1435, allocations: 0 / 352.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Templates: time 0.01085/0.1543, allocations: 5.894 MB / 358.2 MB, free: 5.094 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)