Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Core.B|Core.Hstat|Core.MagRel|Winding.i",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09431/0.09468, allocations: 44.49 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003784/0.09852, allocations: 2.267 MB / 311.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.101, allocations: 1.174 MB / 312.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1012, allocations: 7.938 kB / 312.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1014, allocations: 59.59 kB / 312.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000704/0.1021, allocations: 207.4 kB / 312.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.1025, allocations: 87.81 kB / 312.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004837/0.103, allocations: 280 kB / 313.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.1032, allocations: 69.34 kB / 313.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.1035, allocations: 159.5 kB / 313.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.1039, allocations: 195.3 kB / 313.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.324e-05/0.104, allocations: 24 kB / 313.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.1044, allocations: 143.9 kB / 313.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1045, allocations: 71.72 kB / 313.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.417e-05/0.1046, allocations: 77.58 kB / 313.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.1052, allocations: 367.2 kB / 314.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1052, allocations: 0 / 314.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1052, allocations: 4 kB / 314.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1052, allocations: 0 / 314.2 MB, free: 11.18 MB / 266.7 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.002259/0.1075, allocations: 0.6546 MB / 314.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.1076, allocations: 12.03 kB / 314.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.1077, allocations: 35.58 kB / 314.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.1082, allocations: 323.9 kB / 315.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.1083, allocations: 50.27 kB / 315.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.1086, allocations: 35.98 kB / 315.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.1095, allocations: 324.4 kB / 315.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1096, allocations: 4 kB / 315.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.1096, allocations: 8 kB / 315.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1096, allocations: 8 kB / 315.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.1108, allocations: 317.9 kB / 316 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.1134, allocations: 1.167 MB / 317.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1144, allocations: 301 kB / 317.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.1145, allocations: 7.984 kB / 317.4 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1145, allocations: 42.56 kB / 317.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.1145, allocations: 0 / 317.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.01666/0.1312, allocations: 2.523 MB / 320 MB, free: 5.098 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.1313, allocations: 85.06 kB / 320.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.1317, allocations: 292.9 kB / 320.4 MB, free: 4.699 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.1318, allocations: 37.64 kB / 320.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.132, allocations: 160.5 kB / 320.6 MB, free: 4.496 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.1322, allocations: 149.8 kB / 320.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.1322, allocations: 12 kB / 320.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1324, allocations: 334.8 kB / 321 MB, free: 4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007007/0.1331, allocations: 176.8 kB / 321.2 MB, free: 3.828 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007624/0.1339, allocations: 238.6 kB / 321.5 MB, free: 3.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007608/0.1346, allocations: 181.8 kB / 321.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1346, allocations: 4 kB / 321.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00174/0.1364, allocations: 0.4967 MB / 322.1 MB, free: 2.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.1364, allocations: 11.98 kB / 322.1 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1365, allocations: 0 / 322.1 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1365, allocations: 4 kB / 322.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.1376, allocations: 124 kB / 322.3 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1376, allocations: 0 / 322.3 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/0.1383, allocations: 39.94 kB / 322.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.1384, allocations: 19.98 kB / 322.3 MB, free: 2.691 MB / 266.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.1387, allocations: 157.7 kB / 322.5 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.1388, allocations: 27.62 kB / 322.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/0.142, allocations: 0.6838 MB / 323.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.142, allocations: 0 / 323.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.142, allocations: 0 / 323.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.1423, allocations: 156.6 kB / 323.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.1424, allocations: 8 kB / 323.4 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.1432, allocations: 31.98 kB / 323.4 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.1433, allocations: 36.34 kB / 323.4 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004249/0.1476, allocations: 0.8781 MB / 324.3 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002645/0.1503, allocations: 0.962 MB / 325.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000756/0.151, allocations: 215.4 kB / 325.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003211/0.1514, allocations: 212.5 kB / 325.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of Backend: time 4.6e-07/0.1514, allocations: 0 / 325.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.1528, allocations: 358.3 kB / 326 MB, free: 14.92 MB / 282.7 MB Notification: Performance of SimCode: time 0.00235/0.1551, allocations: 1.587 MB / 327.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of Templates: time 0.01494/0.1701, allocations: 5.232 MB / 332.8 MB, free: 8.055 MB / 282.7 MB