Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 194.9 MB / 211.1 MB, free: 8.746 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004789, allocations: 8 kB / 264.1 MB, free: 3.672 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2918, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.02447/0.3163, allocations: 13.74 MB / 322.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.3312, allocations: 5.425 MB / 327.7 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.3346, allocations: 95.56 kB / 327.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004821/0.3395, allocations: 1.038 MB / 328.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006924/0.3464, allocations: 1.523 MB / 330.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.3502, allocations: 0.7056 MB / 331.1 MB, free: 6.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01009/0.3603, allocations: 4.241 MB / 335.3 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007733/0.3681, allocations: 3.478 MB / 338.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004377/0.3726, allocations: 1.95 MB / 340.8 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00564/0.3783, allocations: 2.354 MB / 343.1 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001622/0.3799, allocations: 328 kB / 343.4 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.3831, allocations: 0.5232 MB / 344 MB, free: 9.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002643/0.3858, allocations: 1.238 MB / 345.2 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002601/0.3885, allocations: 1.14 MB / 346.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0138/0.4023, allocations: 8.535 MB / 354.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4024, allocations: 0 / 354.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4024, allocations: 0 / 354.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003075/0.4027, allocations: 4 kB / 354.9 MB, free: 14.28 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02209/0.4248, allocations: 5.508 MB / 360.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4249, allocations: 20.02 kB / 360.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00265/0.4275, allocations: 0.6787 MB / 361.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008396/0.436, allocations: 1.055 MB / 362.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.4464, allocations: 3.26 MB / 365.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005567/0.447, allocations: 369.7 kB / 365.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/0.4489, allocations: 479.9 kB / 366.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/0.4713, allocations: 6.803 MB / 373 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001727/0.4715, allocations: 8 kB / 373 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/0.4726, allocations: 203.9 kB / 373.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003679/0.473, allocations: 241.8 kB / 373.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01973/0.4927, allocations: 5.918 MB / 379.4 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05848/0.5513, allocations: 21 MB / 400.4 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01707/0.5684, allocations: 9.94 MB / 410.3 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2675/0.836, allocations: 5.442 MB / 415.8 MB, free: 86.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/0.8361, allocations: 58.72 kB / 415.8 MB, free: 86.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=227): time 5.56e-06/0.8361, allocations: 2.812 kB / 415.8 MB, free: 86.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=234): time 0.02962/0.8657, allocations: 9.831 MB / 425.7 MB, free: 82.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.8658, allocations: 78.5 kB / 425.7 MB, free: 82.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005786/0.8716, allocations: 2.914 MB / 428.7 MB, free: 81.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004396/0.8721, allocations: 69.05 kB / 428.7 MB, free: 81.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.8738, allocations: 2.148 MB / 430.9 MB, free: 80.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009409/0.8747, allocations: 0.7874 MB / 431.7 MB, free: 79.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.875, allocations: 51.25 kB / 431.7 MB, free: 79.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.8752, allocations: 411.1 kB / 432.1 MB, free: 79.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/0.8785, allocations: 1.324 MB / 433.4 MB, free: 78.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003814/0.8823, allocations: 1.936 MB / 435.4 MB, free: 77.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.8863, allocations: 1.634 MB / 437 MB, free: 75.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/0.8864, allocations: 4 kB / 437 MB, free: 75.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=334) (initialization): time 0.01197/0.8984, allocations: 4.315 MB / 441.3 MB, free: 71.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.8985, allocations: 12 kB / 441.3 MB, free: 71.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/0.8985, allocations: 20 kB / 441.4 MB, free: 71.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004537/0.9031, allocations: 0.7763 MB / 442.1 MB, free: 70.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/0.9077, allocations: 0.5773 MB / 442.7 MB, free: 70.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/0.9217, allocations: 10.21 MB / 452.9 MB, free: 59.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/0.9251, allocations: 112.1 kB / 453 MB, free: 59.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/0.9256, allocations: 104 kB / 453.1 MB, free: 59.13 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 279 * 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: 4 * 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: 4 {(1,100.0%) 8,(1,100.0%) 1,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003911/0.9295, allocations: 1.61 MB / 454.7 MB, free: 57.51 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009695/0.9305, allocations: 316.2 kB / 455.1 MB, free: 57.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/0.9405, allocations: 4.015 MB / 459.1 MB, free: 53.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.9406, allocations: 20 kB / 459.1 MB, free: 53.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/0.9406, allocations: 12 kB / 459.1 MB, free: 53.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-05/0.9406, allocations: 11.95 kB / 459.1 MB, free: 53.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/0.9612, allocations: 8.71 MB / 467.8 MB, free: 44.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.9612, allocations: 4 kB / 467.8 MB, free: 44.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003088/0.9643, allocations: 367.8 kB / 468.2 MB, free: 43.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005145/0.9695, allocations: 0.9385 MB / 469.1 MB, free: 42.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003585/0.9699, allocations: 63.98 kB / 469.2 MB, free: 42.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/0.9896, allocations: 14.65 MB / 483.8 MB, free: 27.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9897, allocations: 8.281 kB / 483.8 MB, free: 27.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.003, allocations: 5.85 MB / 489.7 MB, free: 21.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.006, allocations: 0.7001 MB / 490.4 MB, free: 20.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000901/1.007, allocations: 55.98 kB / 490.4 MB, free: 20.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003006/1.01, allocations: 119.9 kB / 490.6 MB, free: 20.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006865/1.011, allocations: 193.7 kB / 490.7 MB, free: 20.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/1.011, allocations: 63.98 kB / 490.8 MB, free: 20.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004294/1.015, allocations: 2.007 MB / 492.8 MB, free: 18.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.015, allocations: 0 / 492.8 MB, free: 18.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004581/1.02, allocations: 0.9402 MB / 493.8 MB, free: 17.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 158 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01475/1.034, allocations: 6.524 MB / 0.4886 GB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009174/1.044, allocations: 3.981 MB / 0.4924 GB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.044, allocations: 192 / 0.4924 GB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006653/1.05, allocations: 2.706 MB / 0.4951 GB, free: 3.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005995/1.056, allocations: 0.8445 MB / 0.4959 GB, free: 3.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09208/1.149, allocations: 28.91 MB / 0.5241 GB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005981/1.155, allocations: 3.519 MB / 0.5276 GB, free: 1.152 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00463/1.159, allocations: 0.7644 MB / 0.5283 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004714/1.164, allocations: 1.831 MB / 0.5301 GB, free: 14.61 MB / 394.7 MB Notification: Performance of SimCode: time 1.913e-06/1.164, allocations: 0 / 0.5301 GB, free: 14.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4641/1.628, allocations: 81.33 MB / 0.6095 GB, free: 95.65 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/1.629, allocations: 277.1 kB / 0.6098 GB, free: 95.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.441/7.07, allocations: 0 / 0.6098 GB, free: 95.29 MB / 410.7 MB