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_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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005301/0.0005301, allocations: 8 kB / 265.4 MB, free: 2.125 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.326, allocations: 44.51 MB / 309.9 MB, free: 12.5 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5528/0.8788, allocations: 161.9 MB / 471.8 MB, free: 35.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/0.8792, allocations: 105.3 kB / 471.9 MB, free: 35.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.964/5.843, allocations: 0.8631 GB / 1.324 GB, free: 29.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.575e-06/5.843, allocations: 2.656 kB / 1.324 GB, free: 29.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001989/5.845, allocations: 479.5 kB / 1.324 GB, free: 29.32 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.1052/5.951, allocations: 20.72 MB / 1.345 GB, free: 22.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/5.951, allocations: 9.188 kB / 1.345 GB, free: 22.94 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01759/5.968, allocations: 3.014 MB / 1.348 GB, free: 22.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08259/6.051, allocations: 10.38 MB / 1.358 GB, free: 21.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05619/6.107, allocations: 15.87 MB / 1.373 GB, free: 19.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002747/6.11, allocations: 1.547 MB / 1.375 GB, free: 19.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01152/6.122, allocations: 2.021 MB / 1.377 GB, free: 19.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1264/6.248, allocations: 35.94 MB / 1.412 GB, free: 5.539 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001394/6.249, allocations: 22.48 kB / 1.412 GB, free: 5.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01183/6.261, allocations: 0.8601 MB / 1.413 GB, free: 4.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002763/6.264, allocations: 1.391 MB / 1.414 GB, free: 3.418 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6293/6.893, allocations: 33.71 MB / 1.447 GB, free: 41.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3405/7.234, allocations: 112 MB / 1.556 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07465/7.309, allocations: 44.28 MB / 1.6 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6445/7.953, allocations: 49.57 MB / 1.648 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/7.954, allocations: 183.7 kB / 1.648 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1590): time 2.396e-05/7.954, allocations: 3.188 kB / 1.648 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1602): time 0.2273/8.181, allocations: 73.26 MB / 1.72 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/8.181, allocations: 218.5 kB / 1.72 GB, free: 63.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01952/8.201, allocations: 5.978 MB / 1.726 GB, free: 63.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.004054/8.205, allocations: 246.9 kB / 1.726 GB, free: 63.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.007421/8.212, allocations: 7.346 MB / 1.733 GB, free: 58.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.009811/8.222, allocations: 5.244 MB / 1.738 GB, free: 54.15 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004668/8.227, allocations: 258.3 kB / 1.739 GB, free: 53.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002275/8.229, allocations: 0.9075 MB / 1.739 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03022/8.259, allocations: 10.4 MB / 1.75 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03254/8.292, allocations: 12.59 MB / 1.762 GB, free: 42.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03463/8.327, allocations: 12.33 MB / 1.774 GB, free: 37.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/8.327, allocations: 15.06 kB / 1.774 GB, free: 37.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1877) (initialization): time 0.1006/8.427, allocations: 31.91 MB / 1.805 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-05/8.428, allocations: 28 kB / 1.805 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002021/8.428, allocations: 55.95 kB / 1.805 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05038/8.478, allocations: 14.89 MB / 1.82 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0229/8.501, allocations: 2.347 MB / 1.822 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6297/9.131, allocations: 36.06 MB / 1.857 GB, free: 79.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01673/9.148, allocations: 0.6362 MB / 1.858 GB, free: 79.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005071/9.153, allocations: 0.5244 MB / 1.858 GB, free: 79.69 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1070): * Single equations (assignments): 1030 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.02794/9.181, allocations: 7.906 MB / 1.866 GB, free: 79.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007005/9.188, allocations: 1.011 MB / 1.867 GB, free: 79.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1114/9.299, allocations: 32.56 MB / 1.899 GB, free: 78.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007618/9.3, allocations: 384.7 kB / 1.899 GB, free: 78.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001648/9.3, allocations: 16.69 kB / 1.899 GB, free: 78.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004898/9.301, allocations: 69.17 kB / 1.899 GB, free: 78.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1883/9.489, allocations: 60.92 MB / 1.959 GB, free: 55.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003037/9.49, allocations: 7.875 kB / 1.959 GB, free: 55.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01489/9.504, allocations: 1.643 MB / 1.96 GB, free: 55.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05223/9.557, allocations: 14.84 MB / 1.975 GB, free: 46.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00429/9.561, allocations: 342.1 kB / 1.975 GB, free: 46.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.085/9.646, allocations: 40.32 MB / 2.015 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/9.646, allocations: 5.406 kB / 2.015 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7522/10.4, allocations: 50.42 MB / 2.064 GB, free: 84.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01428/10.41, allocations: 3.509 MB / 2.067 GB, free: 84.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006248/10.42, allocations: 246.6 kB / 2.068 GB, free: 84.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01488/10.43, allocations: 0.6297 MB / 2.068 GB, free: 84.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006235/10.44, allocations: 1.175 MB / 2.069 GB, free: 84.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004229/10.44, allocations: 420.5 kB / 2.07 GB, free: 84.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01302/10.46, allocations: 4.596 MB / 2.074 GB, free: 84.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.82e-07/10.46, allocations: 0 / 2.074 GB, free: 84.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02454/10.48, allocations: 3.914 MB / 2.078 GB, free: 84.57 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (834): * Single equations (assignments): 793 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.1436/10.63, allocations: 50.32 MB / 2.127 GB, free: 74.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.07682/10.7, allocations: 26.64 MB / 2.153 GB, free: 63.38 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/10.7, allocations: 7.562 kB / 2.153 GB, free: 63.37 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.06402/10.77, allocations: 15.24 MB / 2.168 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02795/10.79, allocations: 2.332 MB / 2.17 GB, free: 48.47 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.126/11.92, allocations: 187.7 MB / 2.354 GB, free: 35.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03717/11.96, allocations: 13.9 MB / 2.367 GB, free: 34.47 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02087/11.98, allocations: 3.108 MB / 2.37 GB, free: 34.15 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02047/12, allocations: 7.91 MB / 2.378 GB, free: 34.15 MB / 0.573 GB Notification: Performance of SimCode: time 2.004e-06/12, allocations: 0 / 2.378 GB, free: 34.15 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.948/13.95, allocations: 426.1 MB / 2.794 GB, free: 72.14 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/13.95, allocations: 272.4 kB / 2.794 GB, free: 71.78 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/32.29, allocations: 3.062 kB / 2.794 GB, free: 71.78 MB / 0.573 GB