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_Initialize.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_Initialize,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 194.9 MB / 211.1 MB, free: 8.758 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 12 kB / 264.1 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3102, allocations: 44.49 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5365/0.8468, allocations: 141.1 MB / 449.7 MB, free: 45.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/0.8472, allocations: 100.6 kB / 449.8 MB, free: 45.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733/2.58, allocations: 352 MB / 0.7829 GB, free: 37.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.886e-06/2.581, allocations: 0 / 0.7829 GB, free: 37.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001244/2.582, allocations: 250.6 kB / 0.7832 GB, free: 37.81 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.05464/2.636, allocations: 10.95 MB / 0.7939 GB, free: 34.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/2.637, allocations: 7 kB / 0.7939 GB, free: 34.22 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008253/2.645, allocations: 1.541 MB / 0.7954 GB, free: 34.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04484/2.69, allocations: 5.414 MB / 0.8007 GB, free: 33.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03318/2.723, allocations: 9.412 MB / 0.8098 GB, free: 32.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001308/2.724, allocations: 0.8006 MB / 0.8106 GB, free: 32.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005835/2.73, allocations: 1.034 MB / 0.8116 GB, free: 32.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06024/2.79, allocations: 17.94 MB / 0.8292 GB, free: 29.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006576/2.791, allocations: 12.25 kB / 0.8292 GB, free: 29.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00478/2.796, allocations: 451 kB / 0.8296 GB, free: 29.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001184/2.797, allocations: 0.7417 MB / 0.8303 GB, free: 28.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05032/2.848, allocations: 16.74 MB / 0.8467 GB, free: 18.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5429/3.39, allocations: 58.83 MB / 0.9041 GB, free: 35.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03773/3.428, allocations: 23.48 MB / 0.927 GB, free: 37.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06299/3.491, allocations: 21.62 MB / 0.9482 GB, free: 36.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/3.492, allocations: 101.1 kB / 0.9483 GB, free: 36.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=672): time 1.187e-05/3.492, allocations: 0 / 0.9483 GB, free: 36.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=697): time 0.1393/3.631, allocations: 39.12 MB / 0.9865 GB, free: 28.28 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/3.631, allocations: 140.4 kB / 0.9866 GB, free: 28.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/3.641, allocations: 3.606 MB / 0.9901 GB, free: 26.81 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001718/3.643, allocations: 124.6 kB / 0.9902 GB, free: 26.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003889/3.647, allocations: 4.215 MB / 0.9943 GB, free: 23.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00395/3.651, allocations: 2.31 MB / 0.9966 GB, free: 21.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/3.653, allocations: 133.7 kB / 0.9967 GB, free: 21.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001041/3.654, allocations: 0.5996 MB / 0.9973 GB, free: 21.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01253/3.667, allocations: 4.566 MB / 1.002 GB, free: 19.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01435/3.681, allocations: 6.129 MB / 1.008 GB, free: 15.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/3.696, allocations: 5.581 MB / 1.013 GB, free: 13.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.424e-05/3.696, allocations: 12.94 kB / 1.013 GB, free: 13.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.04362/3.74, allocations: 14.03 MB / 1.027 GB, free: 7.273 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.734e-05/3.74, allocations: 21.81 kB / 1.027 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/3.74, allocations: 43.91 kB / 1.027 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01584/3.756, allocations: 4.045 MB / 1.031 GB, free: 6.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01068/3.767, allocations: 1.316 MB / 1.032 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03362/3.801, allocations: 16.95 MB / 1.049 GB, free: 7.879 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00901/3.81, allocations: 356.8 kB / 1.049 GB, free: 7.605 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002399/3.812, allocations: 302.1 kB / 1.049 GB, free: 7.332 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 197 * 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 (675): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(7,59.2%) 28,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.01531/3.827, allocations: 3.925 MB / 1.053 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003606/3.831, allocations: 0.532 MB / 1.054 GB, free: 3.473 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4297/4.261, allocations: 13.95 MB / 1.067 GB, free: 77.65 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002762/4.261, allocations: 154.4 kB / 1.068 GB, free: 77.65 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.726e-05/4.261, allocations: 5.812 kB / 1.068 GB, free: 77.65 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001681/4.261, allocations: 31.27 kB / 1.068 GB, free: 77.65 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07627/4.338, allocations: 26.92 MB / 1.094 GB, free: 76.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001223/4.338, allocations: 6.031 kB / 1.094 GB, free: 76.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007998/4.346, allocations: 0.8797 MB / 1.095 GB, free: 76.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01438/4.36, allocations: 3.921 MB / 1.099 GB, free: 76.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001865/4.362, allocations: 151.4 kB / 1.099 GB, free: 76.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03/4.392, allocations: 20.89 MB / 1.119 GB, free: 66.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/4.392, allocations: 4.188 kB / 1.119 GB, free: 66.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05414/4.446, allocations: 20.24 MB / 1.139 GB, free: 58.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006476/4.453, allocations: 1.658 MB / 1.14 GB, free: 57.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003148/4.456, allocations: 117.4 kB / 1.141 GB, free: 57.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007632/4.464, allocations: 311.8 kB / 1.141 GB, free: 57.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002759/4.467, allocations: 0.5046 MB / 1.141 GB, free: 57.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001802/4.469, allocations: 190.5 kB / 1.142 GB, free: 57.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007762/4.476, allocations: 2.728 MB / 1.144 GB, free: 56.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.62e-07/4.476, allocations: 2.5 kB / 1.144 GB, free: 56.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01293/4.489, allocations: 1.989 MB / 1.146 GB, free: 56.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,imc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.05763/4.547, allocations: 22.03 MB / 1.168 GB, free: 45.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03313/4.58, allocations: 11.85 MB / 1.179 GB, free: 40.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/4.58, allocations: 2.906 kB / 1.179 GB, free: 40.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01924/4.6, allocations: 6.693 MB / 1.186 GB, free: 36.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01136/4.611, allocations: 1.172 MB / 1.187 GB, free: 36.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5938/5.205, allocations: 97.32 MB / 1.282 GB, free: 71.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01759/5.222, allocations: 7.121 MB / 1.289 GB, free: 70.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01194/5.234, allocations: 1.657 MB / 1.291 GB, free: 70.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01146/5.246, allocations: 4.019 MB / 1.294 GB, free: 70.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/5.246, allocations: 0 / 1.294 GB, free: 70.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8569/6.103, allocations: 194 MB / 1.484 GB, free: 71.52 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/6.103, allocations: 276.1 kB / 1.484 GB, free: 71.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/16.25, allocations: 0 / 1.484 GB, free: 71.16 MB / 490.7 MB