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 2.294/2.294, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.871e-05, allocations: 4 kB / 258.8 MB, free: 8.703 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3575, allocations: 44.51 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.02564/0.3832, allocations: 13.08 MB / 316.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.3958, allocations: 4.681 MB / 321.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/0.3989, allocations: 115.7 kB / 321.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003512/0.4024, allocations: 0.8274 MB / 322 MB, free: 10.94 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.006117/0.4086, allocations: 1.308 MB / 323.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.4118, allocations: 0.6796 MB / 324 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007462/0.4193, allocations: 2.617 MB / 326.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/0.4237, allocations: 2.022 MB / 328.6 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002925/0.4266, allocations: 1.251 MB / 329.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003726/0.4304, allocations: 1.623 MB / 331.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.4324, allocations: 327.8 kB / 331.8 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008799/0.4334, allocations: 156 kB / 332 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.4346, allocations: 0.829 MB / 332.8 MB, free: 92 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.436, allocations: 372 kB / 333.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.4463, allocations: 6.517 MB / 339.7 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4463, allocations: 0 / 339.7 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4464, allocations: 4 kB / 339.7 MB, free: 9.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002163/0.4466, allocations: 0 / 339.7 MB, free: 9.188 MB / 282.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.016/0.4626, allocations: 4.173 MB / 343.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.4627, allocations: 12.03 kB / 343.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00853/0.4712, allocations: 0.9977 MB / 344.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008445/0.4797, allocations: 2.633 MB / 347.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.4801, allocations: 300 kB / 347.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.4814, allocations: 391.9 kB / 348.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/0.4973, allocations: 5.142 MB / 353.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.4975, allocations: 11.84 kB / 353.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000616/0.4981, allocations: 164 kB / 353.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00026/0.4984, allocations: 179.9 kB / 353.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.513, allocations: 4.411 MB / 358.1 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04416/0.5572, allocations: 16.91 MB / 375 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.5696, allocations: 8.357 MB / 383.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.5807, allocations: 4.177 MB / 387.5 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.5808, allocations: 59.81 kB / 387.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of pre-optimization done (n=160): time 4.959e-06/0.5809, allocations: 0 / 387.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=164): time 0.02152/0.6024, allocations: 6.361 MB / 393.9 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.6025, allocations: 76.7 kB / 394 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004836/0.6073, allocations: 1.996 MB / 396 MB, free: 14.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003264/0.6077, allocations: 53.7 kB / 396.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.6094, allocations: 1.725 MB / 397.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008227/0.6103, allocations: 0.5623 MB / 398.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.6105, allocations: 44 kB / 398.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002406/0.6107, allocations: 395.1 kB / 398.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/0.6133, allocations: 0.8631 MB / 399.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.6165, allocations: 1.548 MB / 401.2 MB, free: 9.238 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/0.6197, allocations: 1.138 MB / 402.3 MB, free: 8.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/0.6197, allocations: 4 kB / 402.3 MB, free: 8.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00758/0.6273, allocations: 2.76 MB / 405.1 MB, free: 5.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.6274, allocations: 12 kB / 405.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.188e-05/0.6275, allocations: 24 kB / 405.1 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004763/0.628, allocations: 126.2 kB / 405.3 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004285/0.6323, allocations: 0.5499 MB / 405.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.6347, allocations: 1.826 MB / 407.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/0.6377, allocations: 116 kB / 407.8 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003433/0.6381, allocations: 95.98 kB / 407.8 MB, free: 2.422 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * 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.003196/0.6413, allocations: 1.184 MB / 409 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007458/0.6421, allocations: 237.1 kB / 409.3 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007276/0.6494, allocations: 2.526 MB / 411.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.6495, allocations: 16 kB / 411.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.6495, allocations: 12.08 kB / 411.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.952e-05/0.6495, allocations: 11.97 kB / 411.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.6655, allocations: 5.967 MB / 417.8 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.6655, allocations: 4 kB / 417.8 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002682/0.6682, allocations: 307.8 kB / 418.1 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.6697, allocations: 324.5 kB / 418.4 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.6699, allocations: 39.98 kB / 418.5 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009848/0.6798, allocations: 6.441 MB / 424.9 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6798, allocations: 0 / 424.9 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2676/0.9474, allocations: 3.808 MB / 428.7 MB, free: 101.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/0.949, allocations: 0.4933 MB / 429.2 MB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/0.9496, allocations: 37.86 kB / 429.2 MB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/0.9516, allocations: 90.77 kB / 429.3 MB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/0.952, allocations: 127.8 kB / 429.4 MB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.9521, allocations: 47.58 kB / 429.5 MB, free: 101.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003021/0.9552, allocations: 1.523 MB / 431 MB, free: 100.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.9552, allocations: 0 / 431 MB, free: 100.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002818/0.958, allocations: 0.667 MB / 431.7 MB, free: 100.5 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 133 * 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.0004166/0.9585, allocations: 178.4 kB / 431.9 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005257/0.9637, allocations: 2.307 MB / 434.2 MB, free: 99.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9638, allocations: 0 / 434.2 MB, free: 99.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00325/0.967, allocations: 1.481 MB / 435.6 MB, free: 98.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003733/0.9708, allocations: 0.5444 MB / 436.2 MB, free: 98.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.9865, allocations: 8.315 MB / 444.5 MB, free: 93.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00272/0.9893, allocations: 2.667 MB / 447.2 MB, free: 91.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.9905, allocations: 178.7 kB / 447.3 MB, free: 91.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.9905, allocations: 0 / 447.3 MB, free: 91.62 MB / 362.7 MB Notification: Performance of Templates: time 0.1237/1.114, allocations: 89.74 MB / 0.5245 GB, free: 1.969 MB / 362.7 MB