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.SaturatedInductor.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.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 2.227/2.227, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 11.94 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09329, allocations: 44.52 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003805/0.09715, allocations: 2.161 MB / 311.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.09904, allocations: 0.8155 MB / 312 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.09923, allocations: 4 kB / 312 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.09944, allocations: 39.7 kB / 312.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.09984, allocations: 99.72 kB / 312.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.1002, allocations: 83.78 kB / 312.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.1006, allocations: 223.4 kB / 312.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.1008, allocations: 81.69 kB / 312.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.1011, allocations: 119.5 kB / 312.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1013, allocations: 123.5 kB / 312.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.1014, allocations: 16 kB / 312.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.06e-05/0.1015, allocations: 16 kB / 312.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.1016, allocations: 55.75 kB / 312.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.821e-05/0.1017, allocations: 81.58 kB / 313 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.102, allocations: 255.5 kB / 313.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.102, allocations: 0 / 313.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1021, allocations: 0 / 313.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1021, allocations: 4 kB / 313.2 MB, free: 12.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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001304/0.1034, allocations: 0.5611 MB / 313.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1035, allocations: 11.97 kB / 313.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.1036, allocations: 35.56 kB / 313.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.104, allocations: 254.5 kB / 314.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.104, allocations: 20.56 kB / 314.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.1041, allocations: 24 kB / 314.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.1049, allocations: 252.8 kB / 314.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1049, allocations: 0 / 314.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.105, allocations: 12 kB / 314.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.105, allocations: 4 kB / 314.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007698/0.1058, allocations: 222.1 kB / 314.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.1081, allocations: 1.009 MB / 315.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.1088, allocations: 202.5 kB / 315.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.1089, allocations: 4 kB / 315.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1089, allocations: 38.55 kB / 315.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 3.096e-06/0.109, allocations: 0 / 315.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.008125/0.1171, allocations: 1.497 MB / 317.3 MB, free: 7.785 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1172, allocations: 63.39 kB / 317.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.1175, allocations: 229 kB / 317.6 MB, free: 7.477 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.1176, allocations: 29.7 kB / 317.7 MB, free: 7.441 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.1178, allocations: 184.1 kB / 317.8 MB, free: 7.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.1179, allocations: 114.3 kB / 317.9 MB, free: 7.145 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.1179, allocations: 12 kB / 318 MB, free: 7.133 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1181, allocations: 334.8 kB / 318.3 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.1185, allocations: 104 kB / 318.4 MB, free: 6.695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.119, allocations: 156.5 kB / 318.5 MB, free: 6.523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.1195, allocations: 129.6 kB / 318.7 MB, free: 6.398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1195, allocations: 8 kB / 318.7 MB, free: 6.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002653/0.1222, allocations: 0.5317 MB / 319.2 MB, free: 5.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.1222, allocations: 5.875 kB / 319.2 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1222, allocations: 4 kB / 319.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/0.1247, allocations: 257.4 kB / 319.5 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.1252, allocations: 51.91 kB / 319.5 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007292/0.1325, allocations: 3.795 MB / 323.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.1329, allocations: 12.03 kB / 323.3 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.133, allocations: 12.06 kB / 323.3 MB, free: 1.438 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.1332, allocations: 153.8 kB / 323.5 MB, free: 1.277 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.753e-05/0.1333, allocations: 23.72 kB / 323.5 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.1335, allocations: 38.92 kB / 323.5 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1335, allocations: 7.984 kB / 323.6 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1335, allocations: 0 / 323.6 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-05/0.1336, allocations: 100.7 kB / 323.7 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.1337, allocations: 8.562 kB / 323.7 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.134, allocations: 19.98 kB / 323.7 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.1342, allocations: 27.94 kB / 323.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002684/0.1369, allocations: 0.5644 MB / 324.3 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001512/0.1384, allocations: 0.6059 MB / 324.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004117/0.1388, allocations: 116.2 kB / 325 MB, free: 15.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000259/0.1391, allocations: 168.4 kB / 325.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of Backend: time 5.21e-07/0.1391, allocations: 0 / 325.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.1406, allocations: 0.5422 MB / 325.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of SimCode: time 0.001948/0.1426, allocations: 1.332 MB / 327 MB, free: 13.61 MB / 282.7 MB Notification: Performance of Templates: time 0.01467/0.1574, allocations: 4.425 MB / 331.5 MB, free: 9.18 MB / 282.7 MB