Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.611/1.611, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 8 kB / 233.9 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07924/0.07962, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003711/0.08338, allocations: 2.153 MB / 274.8 MB, free: 9.375 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.08522, allocations: 0.8501 MB / 275.6 MB, free: 8.523 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.08539, allocations: 7.938 kB / 275.6 MB, free: 8.516 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.08558, allocations: 39.69 kB / 275.7 MB, free: 8.477 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.08598, allocations: 115.6 kB / 275.8 MB, free: 8.363 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.08632, allocations: 83.78 kB / 275.9 MB, free: 8.281 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.08673, allocations: 223.5 kB / 276.1 MB, free: 8.062 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.08696, allocations: 85.66 kB / 276.2 MB, free: 7.977 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.08719, allocations: 115.6 kB / 276.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.08744, allocations: 123.5 kB / 276.4 MB, free: 7.742 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.0875, allocations: 16 kB / 276.4 MB, free: 7.727 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.08763, allocations: 23.98 kB / 276.4 MB, free: 7.703 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.08771, allocations: 51.77 kB / 276.5 MB, free: 7.652 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.08781, allocations: 77.58 kB / 276.6 MB, free: 7.57 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.08821, allocations: 263.5 kB / 276.8 MB, free: 7.312 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.08823, allocations: 4 kB / 276.8 MB, free: 7.309 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.08824, allocations: 0 / 276.8 MB, free: 7.309 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.08826, allocations: 0 / 276.8 MB, free: 7.309 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001222/0.08949, allocations: 0.5533 MB / 277.4 MB, free: 6.707 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.08954, allocations: 8.031 kB / 277.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.711e-05/0.08964, allocations: 31.62 kB / 277.4 MB, free: 6.668 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.09002, allocations: 254.3 kB / 277.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.09007, allocations: 24.52 kB / 277.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.09015, allocations: 24 kB / 277.7 MB, free: 6.328 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007157/0.09087, allocations: 244.9 kB / 278 MB, free: 6.082 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.09091, allocations: 4 kB / 278 MB, free: 6.078 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.09095, allocations: 8 kB / 278 MB, free: 6.07 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.09098, allocations: 11.94 kB / 278 MB, free: 6.059 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007469/0.09173, allocations: 202.2 kB / 278.2 MB, free: 5.863 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.09403, allocations: 0.9977 MB / 279.2 MB, free: 4.777 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.09468, allocations: 199 kB / 279.4 MB, free: 4.574 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.09483, allocations: 85.28 kB / 279.5 MB, free: 4.473 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.09487, allocations: 34.75 kB / 279.5 MB, free: 4.43 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 1.934e-06/0.09488, allocations: 0 / 279.5 MB, free: 4.43 MB / 234.7 MB Notification: Performance of matching and sorting (n=31): time 0.01/0.1049, allocations: 1.473 MB / 281 MB, free: 2.879 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.1049, allocations: 51.41 kB / 281 MB, free: 2.816 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.1053, allocations: 233 kB / 281.2 MB, free: 2.582 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.1053, allocations: 33.7 kB / 281.3 MB, free: 2.543 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1055, allocations: 180.1 kB / 281.4 MB, free: 2.363 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1056, allocations: 106.5 kB / 281.6 MB, free: 2.258 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1057, allocations: 8 kB / 281.6 MB, free: 2.25 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1058, allocations: 334.8 kB / 281.9 MB, free: 1.914 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.1063, allocations: 108 kB / 282 MB, free: 1.809 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.1067, allocations: 155.8 kB / 282.1 MB, free: 1.641 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.1072, allocations: 131.7 kB / 282.3 MB, free: 1.512 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1072, allocations: 0 / 282.3 MB, free: 1.512 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003426/0.1107, allocations: 0.5216 MB / 282.8 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1107, allocations: 6.031 kB / 282.8 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1107, allocations: 4 kB / 282.8 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004744/0.1155, allocations: 297.3 kB / 283.1 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.116, allocations: 59.91 kB / 283.2 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005654/0.1216, allocations: 2.668 MB / 285.8 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.122, allocations: 20.02 kB / 285.8 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.1221, allocations: 12.39 kB / 285.9 MB, free: 13.75 MB / 250.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 (27): * Single equations (assignments): 25 * 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%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002269/0.1223, allocations: 149.7 kB / 286 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.1224, allocations: 23.72 kB / 286 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/0.1257, allocations: 485.9 kB / 286.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.1258, allocations: 3.984 kB / 286.5 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1258, allocations: 4 kB / 286.5 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.126, allocations: 120.8 kB / 286.6 MB, free: 12.94 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/0.126, allocations: 11.98 kB / 286.6 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.1264, allocations: 12 kB / 286.6 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.1265, allocations: 27.88 kB / 286.7 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002855/0.1294, allocations: 0.5379 MB / 287.2 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001444/0.1309, allocations: 0.6014 MB / 287.8 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000384/0.1313, allocations: 104.5 kB / 287.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002179/0.1315, allocations: 168.5 kB / 288.1 MB, free: 11.45 MB / 250.7 MB Notification: Performance of Backend: time 8.41e-07/0.1315, allocations: 0 / 288.1 MB, free: 11.45 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.1328, allocations: 417 kB / 288.5 MB, free: 11.03 MB / 250.7 MB Notification: Performance of SimCode: time 0.001726/0.1345, allocations: 1.304 MB / 289.8 MB, free: 9.68 MB / 250.7 MB Notification: Performance of Templates: time 0.0124/0.147, allocations: 4.062 MB / 293.9 MB, free: 5.617 MB / 250.7 MB