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.MultiPhaseInductance.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.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 1.771/1.771, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004665, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.08309, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006555/0.08971, allocations: 3.695 MB / 276.3 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003594/0.09338, allocations: 1.399 MB / 277.7 MB, free: 6.41 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004042/0.09383, allocations: 15.94 kB / 277.7 MB, free: 6.395 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006693/0.09451, allocations: 198.9 kB / 277.9 MB, free: 6.199 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.09621, allocations: 0.4945 MB / 278.4 MB, free: 5.703 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.09684, allocations: 163.7 kB / 278.6 MB, free: 5.543 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.09915, allocations: 1.158 MB / 279.8 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.1007, allocations: 0.8616 MB / 280.6 MB, free: 3.508 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008807/0.1016, allocations: 0.5488 MB / 281.2 MB, free: 2.957 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.1028, allocations: 0.6848 MB / 281.8 MB, free: 2.27 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.1031, allocations: 84 kB / 281.9 MB, free: 2.188 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005564/0.1036, allocations: 144 kB / 282.1 MB, free: 2.047 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005073/0.1041, allocations: 394.8 kB / 282.5 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.1046, allocations: 317 kB / 282.8 MB, free: 1.344 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.1073, allocations: 1.956 MB / 284.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1073, allocations: 0 / 284.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.579e-06/0.1073, allocations: 0 / 284.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.1074, allocations: 3.938 kB / 284.7 MB, free: 15.38 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006236/0.1136, allocations: 1.883 MB / 286.6 MB, free: 13.44 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1137, allocations: 8.031 kB / 286.6 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.1154, allocations: 281.9 kB / 286.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.1179, allocations: 0.9732 MB / 287.9 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.1181, allocations: 102.5 kB / 288 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.1184, allocations: 124 kB / 288.1 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004637/0.123, allocations: 1.759 MB / 289.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.1231, allocations: 7.938 kB / 289.9 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.1233, allocations: 52 kB / 289.9 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-05/0.1234, allocations: 49.98 kB / 290 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004476/0.1279, allocations: 1.547 MB / 291.5 MB, free: 8.465 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.1413, allocations: 5.267 MB / 296.8 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.1434, allocations: 1.095 MB / 297.9 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.172e-05/0.1435, allocations: 8.422 kB / 297.9 MB, free: 1.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.1436, allocations: 42.92 kB / 297.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 3.386e-06/0.1436, allocations: 0 / 297.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.005251/0.1488, allocations: 1.358 MB / 299.3 MB, free: 324 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.1489, allocations: 89.05 kB / 299.4 MB, free: 216 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2094/0.3583, allocations: 1.028 MB / 300.4 MB, free: 29.87 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.3585, allocations: 35.94 kB / 300.4 MB, free: 29.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006498/0.3592, allocations: 0.6587 MB / 301.1 MB, free: 29.64 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.3594, allocations: 174.6 kB / 301.2 MB, free: 29.53 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.3595, allocations: 13.09 kB / 301.3 MB, free: 29.53 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.3595, allocations: 331.9 kB / 301.6 MB, free: 29.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009848/0.3605, allocations: 347.8 kB / 301.9 MB, free: 29.22 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.3616, allocations: 0.4938 MB / 302.4 MB, free: 28.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.3628, allocations: 416.5 kB / 302.8 MB, free: 28.8 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.3629, allocations: 2.156 kB / 302.8 MB, free: 28.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003046/0.3659, allocations: 0.9718 MB / 303.8 MB, free: 28.46 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.366, allocations: 6.344 kB / 303.8 MB, free: 28.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.366, allocations: 5.359 kB / 303.8 MB, free: 28.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.3661, allocations: 13.94 kB / 303.8 MB, free: 28.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.3674, allocations: 177.9 kB / 304 MB, free: 28.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.3675, allocations: 8.594 kB / 304 MB, free: 28.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/0.3684, allocations: 91.2 kB / 304.1 MB, free: 28.4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.352e-05/0.3685, allocations: 30.58 kB / 304.1 MB, free: 28.39 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (77): * Single equations (assignments): 77 * 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.001097/0.3697, allocations: 0.5154 MB / 304.6 MB, free: 28.12 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003028/0.37, allocations: 89.86 kB / 304.7 MB, free: 28.08 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.3702, allocations: 113.9 kB / 304.8 MB, free: 28.01 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3703, allocations: 3.469 kB / 304.8 MB, free: 28.01 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3703, allocations: 0 / 304.8 MB, free: 28.01 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005734/0.3709, allocations: 256.9 kB / 305.1 MB, free: 27.83 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.3711, allocations: 20.2 kB / 305.1 MB, free: 27.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009433/0.3721, allocations: 62.45 kB / 305.2 MB, free: 27.81 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.3723, allocations: 51.95 kB / 305.2 MB, free: 27.81 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003676/0.376, allocations: 1.126 MB / 306.4 MB, free: 27.37 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003329/0.3793, allocations: 1.417 MB / 307.8 MB, free: 26.71 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009611/0.3803, allocations: 367.8 kB / 308.1 MB, free: 26.6 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001581/0.3819, allocations: 0.7302 MB / 308.9 MB, free: 26.32 MB / 250.7 MB Notification: Performance of Backend: time 1.683e-06/0.382, allocations: 0 / 308.9 MB, free: 26.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.384, allocations: 0.5879 MB / 309.4 MB, free: 26.11 MB / 250.7 MB Notification: Performance of SimCode: time 0.00647/0.3905, allocations: 3.702 MB / 313.1 MB, free: 23.81 MB / 250.7 MB Notification: Performance of Templates: time 0.03179/0.4224, allocations: 11.82 MB / 325 MB, free: 14.91 MB / 250.7 MB