Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 1.807/1.807, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 8 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07701/0.07738, allocations: 44.51 MB / 308.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.02028/0.0977, allocations: 13.51 MB / 321.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.1094, allocations: 5.138 MB / 327 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.1125, allocations: 83.62 kB / 327.1 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003494/0.116, allocations: 0.9329 MB / 328 MB, free: 13.29 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Magnetic/FundamentalWave.mo:4083:9-4083:107:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.005956/0.122, allocations: 1.433 MB / 329.5 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.1253, allocations: 0.7134 MB / 330.2 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007434/0.1327, allocations: 3.417 MB / 333.6 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004958/0.1377, allocations: 2.676 MB / 336.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.1408, allocations: 1.545 MB / 337.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003642/0.1445, allocations: 1.902 MB / 339.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009403/0.1455, allocations: 256 kB / 340 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.1473, allocations: 423.8 kB / 340.4 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.1486, allocations: 0.9501 MB / 341.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.1501, allocations: 0.9018 MB / 342.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009722/0.1599, allocations: 6.533 MB / 348.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.618e-06/0.1599, allocations: 0 / 348.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.531e-06/0.1599, allocations: 4 kB / 348.8 MB, free: 8.438 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001313/0.1601, allocations: 0 / 348.8 MB, free: 8.438 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01405/0.1741, allocations: 4.555 MB / 353.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1742, allocations: 12.03 kB / 353.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007151/0.1814, allocations: 1.002 MB / 354.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006974/0.1884, allocations: 2.617 MB / 357 MB, free: 116 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/0.1888, allocations: 308 kB / 357.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009486/0.1898, allocations: 395.9 kB / 357.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.203, allocations: 5.169 MB / 362.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.2032, allocations: 7.906 kB / 362.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005261/0.2037, allocations: 164 kB / 363 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/0.2039, allocations: 175.9 kB / 363.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.2166, allocations: 4.423 MB / 367.6 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2455/0.4622, allocations: 16.86 MB / 384.4 MB, free: 48.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00816/0.4705, allocations: 8.412 MB / 392.8 MB, free: 41.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009582/0.4801, allocations: 4.255 MB / 397.1 MB, free: 37.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.4802, allocations: 55.75 kB / 397.2 MB, free: 37.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=166): time 5.408e-06/0.4802, allocations: 0 / 397.2 MB, free: 37.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=170): time 0.01705/0.4972, allocations: 6.494 MB / 403.6 MB, free: 33.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.4973, allocations: 66.91 kB / 403.7 MB, free: 33.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004284/0.5016, allocations: 2.28 MB / 406 MB, free: 32.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002827/0.5019, allocations: 53.92 kB / 406 MB, free: 32.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.503, allocations: 1.714 MB / 407.8 MB, free: 31.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005834/0.5036, allocations: 0.5816 MB / 408.3 MB, free: 30.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.5037, allocations: 46.94 kB / 408.4 MB, free: 30.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5039, allocations: 397.1 kB / 408.8 MB, free: 30.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.5059, allocations: 0.8765 MB / 409.6 MB, free: 29.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/0.5085, allocations: 1.574 MB / 411.2 MB, free: 28.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.5111, allocations: 1.161 MB / 412.4 MB, free: 27.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.213e-05/0.5111, allocations: 7.531 kB / 412.4 MB, free: 27.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006023/0.5172, allocations: 2.803 MB / 415.2 MB, free: 25.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.5173, allocations: 12.62 kB / 415.2 MB, free: 25.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/0.5173, allocations: 24 kB / 415.2 MB, free: 25.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.5177, allocations: 130.1 kB / 415.4 MB, free: 25.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.5205, allocations: 0.5694 MB / 415.9 MB, free: 24.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.5223, allocations: 1.823 MB / 417.7 MB, free: 22.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/0.5247, allocations: 116 kB / 417.9 MB, free: 22.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/0.5251, allocations: 104 kB / 418 MB, free: 22.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002771/0.5279, allocations: 1.188 MB / 419.1 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000608/0.5285, allocations: 249 kB / 419.4 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005458/0.534, allocations: 2.578 MB / 422 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.5341, allocations: 19.5 kB / 422 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.5341, allocations: 8 kB / 422 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-05/0.5342, allocations: 11.95 kB / 422 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.5474, allocations: 6.071 MB / 428.1 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.5474, allocations: 4 kB / 428.1 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/0.5493, allocations: 316 kB / 428.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.5505, allocations: 327.2 kB / 428.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002603/0.5508, allocations: 43.98 kB / 428.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007606/0.5584, allocations: 6.48 MB / 435.2 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.5584, allocations: 3.938 kB / 435.2 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007825/0.5663, allocations: 3.74 MB / 439 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/0.5678, allocations: 0.5136 MB / 439.5 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006403/0.5685, allocations: 32 kB / 439.5 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/0.5705, allocations: 102 kB / 439.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005198/0.5711, allocations: 125.1 kB / 439.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.5712, allocations: 47.98 kB / 439.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003896/0.5751, allocations: 1.536 MB / 441.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.151e-06/0.5752, allocations: 0 / 441.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003899/0.5791, allocations: 0.6758 MB / 442 MB, free: 13.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 139 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006377/0.5798, allocations: 180.1 kB / 442.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006144/0.5859, allocations: 2.351 MB / 444.5 MB, free: 10.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.66e-06/0.586, allocations: 7.172 kB / 444.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003721/0.5897, allocations: 1.503 MB / 446 MB, free: 9.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/0.5932, allocations: 0.5574 MB / 446.6 MB, free: 8.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/0.6118, allocations: 8.357 MB / 455 MB, free: 488 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004399/0.6163, allocations: 2.665 MB / 457.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.6174, allocations: 183.4 kB / 457.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.821e-06/0.6174, allocations: 0 / 457.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of Templates: time 0.3551/0.9725, allocations: 90.01 MB / 0.535 GB, free: 139.6 MB / 410.7 MB