Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004782, allocations: 8 kB / 264.1 MB, free: 2.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2881, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.04799/0.3361, allocations: 28.01 MB / 336.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02574/0.3619, allocations: 9.128 MB / 345.7 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006795/0.3688, allocations: 199.2 kB / 345.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009972/0.3788, allocations: 1.948 MB / 347.9 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.019/0.3979, allocations: 3.342 MB / 351.2 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.4081, allocations: 1.546 MB / 352.8 MB, free: 364 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.03843/0.4466, allocations: 11.93 MB / 364.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04936/0.496, allocations: 17.51 MB / 382.2 MB, free: 2.781 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.5066, allocations: 4.595 MB / 386.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01238/0.519, allocations: 5.175 MB / 392 MB, free: 8.977 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003736/0.5228, allocations: 0.7344 MB / 392.7 MB, free: 8.242 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006197/0.529, allocations: 1.042 MB / 393.7 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004844/0.5339, allocations: 2.348 MB / 396.1 MB, free: 4.844 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005354/0.5393, allocations: 2.445 MB / 398.5 MB, free: 2.387 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.5736/1.113, allocations: 21.22 MB / 419.7 MB, free: 28.51 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.113, allocations: 0 / 419.7 MB, free: 28.51 MB / 346.8 MB Notification: Performance of FrontEnd: time 3.046e-06/1.113, allocations: 1.344 kB / 419.7 MB, free: 28.51 MB / 346.8 MB Notification: Performance of Transformations before backend: time 0.0007341/1.114, allocations: 0 / 419.7 MB, free: 28.51 MB / 346.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.05238/1.166, allocations: 12.66 MB / 432.4 MB, free: 24.61 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.166, allocations: 7.125 kB / 432.4 MB, free: 24.61 MB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006531/1.173, allocations: 1.57 MB / 434 MB, free: 24.28 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06559/1.238, allocations: 7.663 MB / 441.7 MB, free: 21.39 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02201/1.261, allocations: 7.263 MB / 448.9 MB, free: 19.45 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001065/1.262, allocations: 0.818 MB / 449.7 MB, free: 19.42 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005218/1.267, allocations: 1.088 MB / 450.8 MB, free: 19.41 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05837/1.325, allocations: 17.7 MB / 468.5 MB, free: 8.922 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007446/1.326, allocations: 15.27 kB / 468.5 MB, free: 8.91 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005368/1.331, allocations: 464.3 kB / 469 MB, free: 8.812 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001338/1.333, allocations: 0.6692 MB / 469.7 MB, free: 8.191 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06598/1.399, allocations: 16.97 MB / 486.6 MB, free: 11 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1515/1.55, allocations: 56.91 MB / 0.5308 GB, free: 1.883 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05265/1.603, allocations: 42.36 MB / 0.5722 GB, free: 3.223 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3344/1.938, allocations: 13.36 MB / 0.5852 GB, free: 168.7 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007629/1.945, allocations: 3.14 MB / 0.5883 GB, free: 167.4 MB / 458.8 MB Notification: Performance of pre-optimization done (n=444): time 9.989e-06/1.945, allocations: 3.219 kB / 0.5883 GB, free: 167.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=462): time 0.08953/2.035, allocations: 23.22 MB / 0.611 GB, free: 156.7 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/2.035, allocations: 415.3 kB / 0.6114 GB, free: 156.2 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01322/2.048, allocations: 4.603 MB / 0.6158 GB, free: 152.3 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001117/2.049, allocations: 109.6 kB / 0.616 GB, free: 152.2 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006646/2.056, allocations: 4.868 MB / 0.6207 GB, free: 147.9 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002811/2.059, allocations: 1.585 MB / 0.6223 GB, free: 146.5 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009013/2.06, allocations: 128 kB / 0.6224 GB, free: 146.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000616/2.061, allocations: 0.5617 MB / 0.6229 GB, free: 145.9 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01056/2.071, allocations: 2.92 MB / 0.6258 GB, free: 143.4 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/2.083, allocations: 5.304 MB / 0.631 GB, free: 137.6 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009948/2.093, allocations: 4.064 MB / 0.6349 GB, free: 133.8 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-05/2.093, allocations: 24 kB / 0.6349 GB, free: 133.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=824) (initialization): time 0.02847/2.122, allocations: 9.978 MB / 0.6447 GB, free: 123.7 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/2.122, allocations: 80.53 kB / 0.6448 GB, free: 123.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/2.122, allocations: 72 kB / 0.6448 GB, free: 123.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006871/2.129, allocations: 1.501 MB / 0.6463 GB, free: 122.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/2.139, allocations: 1.42 MB / 0.6477 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03036/2.169, allocations: 16.65 MB / 0.6639 GB, free: 103.4 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008091/2.178, allocations: 375.5 kB / 0.6643 GB, free: 103 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/2.179, allocations: 308 kB / 0.6646 GB, free: 102.7 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (736): * Single equations (assignments): 729 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 4,(14,41.8%) 44,(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009563/2.189, allocations: 3.963 MB / 0.6685 GB, free: 98.71 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/2.19, allocations: 0.521 MB / 0.669 GB, free: 98.18 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02529/2.216, allocations: 8.074 MB / 0.6769 GB, free: 90.03 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.137e-05/2.216, allocations: 44 kB / 0.6769 GB, free: 89.98 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.371e-05/2.216, allocations: 16 kB / 0.6769 GB, free: 89.97 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001168/2.216, allocations: 35.84 kB / 0.677 GB, free: 89.93 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0456/2.261, allocations: 17.69 MB / 0.6942 GB, free: 72.16 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.606e-05/2.262, allocations: 8 kB / 0.6942 GB, free: 72.15 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006645/2.268, allocations: 0.7723 MB / 0.695 GB, free: 71.38 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007093/2.275, allocations: 1.551 MB / 0.6965 GB, free: 69.8 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009237/2.276, allocations: 116 kB / 0.6966 GB, free: 69.69 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0323/2.309, allocations: 19.96 MB / 0.7161 GB, free: 48.84 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/2.309, allocations: 7.938 kB / 0.7161 GB, free: 48.83 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03011/2.339, allocations: 11.62 MB / 0.7275 GB, free: 37.05 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004078/2.343, allocations: 1.178 MB / 0.7286 GB, free: 35.85 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/2.345, allocations: 99.98 kB / 0.7287 GB, free: 35.75 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00547/2.35, allocations: 247.8 kB / 0.7289 GB, free: 35.51 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001536/2.352, allocations: 336 kB / 0.7293 GB, free: 35.18 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000932/2.353, allocations: 140 kB / 0.7294 GB, free: 35.05 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.007479/2.36, allocations: 3.107 MB / 0.7324 GB, free: 31.95 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.81e-07/2.36, allocations: 0 / 0.7324 GB, free: 31.95 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01082/2.371, allocations: 1.927 MB / 0.7343 GB, free: 30.02 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (406): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(14,40.3%) 44,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 13,(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.3212/2.692, allocations: 12.66 MB / 0.7467 GB, free: 153.1 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02195/2.714, allocations: 8.372 MB / 0.7549 GB, free: 150.3 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/2.714, allocations: 7.594 kB / 0.7549 GB, free: 150.3 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01302/2.727, allocations: 4.738 MB / 0.7595 GB, free: 148 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009335/2.737, allocations: 1.198 MB / 0.7607 GB, free: 147.6 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07023/2.807, allocations: 35.15 MB / 0.795 GB, free: 122.1 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01415/2.821, allocations: 7.106 MB / 0.8019 GB, free: 116.8 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01112/2.832, allocations: 1.939 MB / 0.8038 GB, free: 115.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009237/2.842, allocations: 4.116 MB / 0.8078 GB, free: 111.6 MB / 458.8 MB Notification: Performance of SimCode: time 1.853e-06/2.842, allocations: 4 kB / 0.8078 GB, free: 111.6 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6252/3.467, allocations: 147.8 MB / 0.9522 GB, free: 125.5 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/3.467, allocations: 303.4 kB / 0.9525 GB, free: 125.2 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/11.33, allocations: 0 / 0.9525 GB, free: 125.2 MB / 458.8 MB