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.BasicMachines.SMEE_Generator.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.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07688/0.07724, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.03079/0.1081, allocations: 18.65 MB / 291.3 MB, free: 8.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.1243, allocations: 6.452 MB / 297.7 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003948/0.1283, allocations: 119.5 kB / 297.9 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00497/0.1333, allocations: 1.119 MB / 299 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2266/0.3599, allocations: 1.858 MB / 300.8 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004565/0.3645, allocations: 0.9486 MB / 301.8 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01119/0.3757, allocations: 4.702 MB / 306.5 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008002/0.3838, allocations: 3.695 MB / 310.2 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/0.389, allocations: 2.134 MB / 312.3 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006388/0.3954, allocations: 2.635 MB / 315 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001942/0.3974, allocations: 350.5 kB / 315.3 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004061/0.4015, allocations: 0.5681 MB / 315.9 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002937/0.4045, allocations: 1.415 MB / 317.3 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00374/0.4083, allocations: 1.234 MB / 318.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.4211, allocations: 8.916 MB / 327.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4211, allocations: 3.562 kB / 327.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.4212, allocations: 0 / 327.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0003491/0.4215, allocations: 0 / 327.4 MB, free: 4.633 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: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.02199/0.4435, allocations: 6.063 MB / 333.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.4436, allocations: 8.031 kB / 333.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008852/0.4525, allocations: 0.9712 MB / 334.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01428/0.4668, allocations: 3.438 MB / 337.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004871/0.4673, allocations: 404.3 kB / 338.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00209/0.4694, allocations: 0.535 MB / 338.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.492, allocations: 6.842 MB / 345.7 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001953/0.4922, allocations: 11.89 kB / 345.7 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008302/0.4931, allocations: 225.5 kB / 345.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004146/0.4935, allocations: 242.7 kB / 346.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/0.5121, allocations: 5.625 MB / 351.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05909/0.5713, allocations: 22.52 MB / 374.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00815/0.5795, allocations: 4.369 MB / 378.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005433/0.58, allocations: 142.7 kB / 378.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/0.5801, allocations: 56.56 kB / 378.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=242): time 5.751e-06/0.5801, allocations: 0 / 378.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=288): time 0.06472/0.6449, allocations: 15.33 MB / 394.2 MB, free: 3.594 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.645, allocations: 81.64 kB / 394.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007764/0.6527, allocations: 3.294 MB / 397.6 MB, free: 220 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005842/0.6534, allocations: 73.64 kB / 397.6 MB, free: 140 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002808/0.6562, allocations: 2.529 MB / 400.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001564/0.6578, allocations: 0.9797 MB / 401.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003771/0.6582, allocations: 73.97 kB / 401.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003261/0.6586, allocations: 449.5 kB / 401.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004955/0.6635, allocations: 1.576 MB / 403.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005993/0.6696, allocations: 2.635 MB / 405.9 MB, free: 7.422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006003/0.6756, allocations: 2.031 MB / 407.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.504e-05/0.6757, allocations: 8 kB / 407.9 MB, free: 5.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.01736/0.6931, allocations: 5.51 MB / 413.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/0.6932, allocations: 20 kB / 413.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.779e-05/0.6933, allocations: 32 kB / 413.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003174/0.6964, allocations: 0.756 MB / 414.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006357/0.7028, allocations: 0.8346 MB / 415.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01896/0.7218, allocations: 10.62 MB / 425.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/0.7268, allocations: 223.7 kB / 425.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006791/0.7276, allocations: 157.1 kB / 426 MB, free: 2.582 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (406): * Single equations (assignments): 396 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 12,(1,100.0%) 3,(4,93.8%) 17,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004604/0.7322, allocations: 1.595 MB / 427.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/0.7335, allocations: 383.4 kB / 428 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/0.7474, allocations: 4.682 MB / 432.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.256e-05/0.7475, allocations: 15.94 kB / 432.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.7475, allocations: 2.516 kB / 432.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002943/0.7505, allocations: 0.7813 MB / 433.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/0.7518, allocations: 55.98 kB / 433.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003829/0.7557, allocations: 195.8 kB / 433.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007665/0.7565, allocations: 209.9 kB / 433.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01771/0.7742, allocations: 4.668 MB / 438.6 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.247/1.021, allocations: 5.853 MB / 444.5 MB, free: 115.8 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005037/1.026, allocations: 1.703 MB / 446.2 MB, free: 115.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00585/1.032, allocations: 2.222 MB / 448.4 MB, free: 115.6 MB / 362.7 MB Notification: Performance of Backend: time 2.094e-06/1.032, allocations: 0 / 448.4 MB, free: 115.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01109/1.043, allocations: 3.585 MB / 452 MB, free: 114.6 MB / 362.7 MB Notification: Performance of SimCode: time 0.02864/1.072, allocations: 12.3 MB / 464.3 MB, free: 107.7 MB / 362.7 MB Notification: Performance of Templates: time 0.1391/1.211, allocations: 54.08 MB / 0.5062 GB, free: 64.36 MB / 362.7 MB