Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 1.705/1.705, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.0045/0.1303, allocations: 2.565 MB / 275.2 MB, free: 8.957 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.1329, allocations: 1.009 MB / 276.2 MB, free: 7.945 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002623/0.1332, allocations: 8 kB / 276.2 MB, free: 7.938 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.1336, allocations: 95.44 kB / 276.3 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009572/0.1346, allocations: 279 kB / 276.6 MB, free: 7.57 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.1352, allocations: 191.5 kB / 276.8 MB, free: 7.383 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007102/0.136, allocations: 299.4 kB / 277.1 MB, free: 7.09 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.1363, allocations: 115 kB / 277.2 MB, free: 6.98 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.1365, allocations: 139.5 kB / 277.3 MB, free: 6.844 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.1368, allocations: 155.3 kB / 277.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.1369, allocations: 20 kB / 277.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.1372, allocations: 83.88 kB / 277.6 MB, free: 6.59 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.1373, allocations: 59.77 kB / 277.6 MB, free: 6.531 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1374, allocations: 97.5 kB / 277.7 MB, free: 6.43 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.138, allocations: 351.3 kB / 278.1 MB, free: 6.086 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.138, allocations: 0 / 278.1 MB, free: 6.086 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1381, allocations: 0 / 278.1 MB, free: 6.086 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1381, allocations: 0 / 278.1 MB, free: 6.086 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001899/0.14, allocations: 0.6702 MB / 278.7 MB, free: 5.367 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.14, allocations: 8.031 kB / 278.7 MB, free: 5.359 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/0.1405, allocations: 67.5 kB / 278.8 MB, free: 5.293 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.1411, allocations: 296.1 kB / 279.1 MB, free: 4.961 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.1411, allocations: 28.61 kB / 279.1 MB, free: 4.934 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.667e-05/0.1412, allocations: 28 kB / 279.1 MB, free: 4.906 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008471/0.1421, allocations: 320.6 kB / 279.5 MB, free: 4.574 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1421, allocations: 0 / 279.5 MB, free: 4.574 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-05/0.1422, allocations: 8 kB / 279.5 MB, free: 4.566 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.1422, allocations: 8 kB / 279.5 MB, free: 4.559 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.1429, allocations: 215.4 kB / 279.7 MB, free: 4.352 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.1457, allocations: 1.316 MB / 281 MB, free: 2.93 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.1461, allocations: 145.2 kB / 281.1 MB, free: 2.77 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1462, allocations: 3.953 kB / 281.1 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1462, allocations: 34.56 kB / 281.2 MB, free: 2.723 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.465e-06/0.1462, allocations: 0 / 281.2 MB, free: 2.723 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007743/0.147, allocations: 205.4 kB / 281.4 MB, free: 2.516 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.1471, allocations: 77.11 kB / 281.5 MB, free: 2.422 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.1475, allocations: 286.8 kB / 281.7 MB, free: 2.133 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.1476, allocations: 25.7 kB / 281.8 MB, free: 2.102 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.1478, allocations: 223.7 kB / 282 MB, free: 1.879 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.1479, allocations: 51.3 kB / 282 MB, free: 1.828 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.1479, allocations: 0 / 282 MB, free: 1.828 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1481, allocations: 334.8 kB / 282.4 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.1483, allocations: 59.97 kB / 282.4 MB, free: 1.434 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.1486, allocations: 165.7 kB / 282.6 MB, free: 1.223 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.149, allocations: 91.91 kB / 282.7 MB, free: 1.133 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.149, allocations: 0 / 282.7 MB, free: 1.133 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007719/0.1498, allocations: 273.1 kB / 282.9 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.1498, allocations: 13.92 kB / 282.9 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.1498, allocations: 11.97 kB / 283 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.1498, allocations: 8 kB / 283 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.1503, allocations: 64.22 kB / 283 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.1503, allocations: 12.03 kB / 283 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.1507, allocations: 35.62 kB / 283.1 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.1507, allocations: 19.98 kB / 283.1 MB, free: 0.6992 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (31): * Single equations (assignments): 31 * 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.0002039/0.1509, allocations: 145.8 kB / 283.2 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/0.151, allocations: 23.72 kB / 283.3 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.1511, allocations: 29.69 kB / 283.3 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1511, allocations: 4 kB / 283.3 MB, free: 500 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1511, allocations: 4 kB / 283.3 MB, free: 496 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.1513, allocations: 112.7 kB / 283.4 MB, free: 364 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.1513, allocations: 4 kB / 283.4 MB, free: 360 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.1517, allocations: 12 kB / 283.4 MB, free: 348 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.1518, allocations: 7.984 kB / 283.4 MB, free: 340 kB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008432/0.1526, allocations: 332.1 kB / 283.8 MB, free: 0 / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009005/0.1535, allocations: 482 kB / 284.2 MB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002238/0.1538, allocations: 67.98 kB / 284.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002842/0.1541, allocations: 194 kB / 284.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of Backend: time 6.21e-07/0.1541, allocations: 0 / 284.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008944/0.155, allocations: 230.2 kB / 284.7 MB, free: 15.03 MB / 250.7 MB Notification: Performance of SimCode: time 0.001842/0.1569, allocations: 1.214 MB / 285.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of Templates: time 0.01011/0.167, allocations: 2.779 MB / 288.7 MB, free: 10.98 MB / 250.7 MB