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 1.918/1.918, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 8 kB / 265.4 MB, free: 1.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3066, allocations: 44.51 MB / 309.9 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.07054/0.3771, allocations: 41.03 MB / 351 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03658/0.4138, allocations: 12.47 MB / 363.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01012/0.424, allocations: 298.9 kB / 363.7 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01676/0.4408, allocations: 2.678 MB / 366.4 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0284/0.4692, allocations: 4.682 MB / 371.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01433/0.4836, allocations: 2.152 MB / 373.2 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.05837/0.542, allocations: 18.94 MB / 392.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.7015/1.244, allocations: 36.16 MB / 428.3 MB, free: 15.62 MB / 346.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01612/1.26, allocations: 8.328 MB / 436.7 MB, free: 15.62 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02064/1.28, allocations: 9.571 MB / 446.2 MB, free: 15.61 MB / 346.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007158/1.288, allocations: 1.409 MB / 447.6 MB, free: 15.61 MB / 346.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/1.299, allocations: 1.772 MB / 449.4 MB, free: 15.61 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008703/1.307, allocations: 4.455 MB / 453.9 MB, free: 15.61 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009146/1.317, allocations: 4.631 MB / 458.5 MB, free: 15.58 MB / 346.8 MB Notification: Performance of NFConvertDAE.convert: time 0.05652/1.373, allocations: 40.99 MB / 499.5 MB, free: 14.43 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.373, allocations: 0 / 499.5 MB, free: 14.43 MB / 378.8 MB Notification: Performance of FrontEnd: time 3.026e-06/1.373, allocations: 0 / 499.5 MB, free: 14.43 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001347/1.375, allocations: 4 kB / 499.5 MB, free: 14.43 MB / 378.8 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.1038/1.478, allocations: 23.15 MB / 0.5104 GB, free: 9.879 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.478, allocations: 12.03 kB / 0.5104 GB, free: 9.867 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01372/1.492, allocations: 3.01 MB / 0.5133 GB, free: 8.246 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1268/1.619, allocations: 14.88 MB / 0.5279 GB, free: 10.38 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04318/1.662, allocations: 13.15 MB / 0.5407 GB, free: 2.293 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002457/1.665, allocations: 1.583 MB / 0.5423 GB, free: 0.7305 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01084/1.676, allocations: 2.093 MB / 0.5443 GB, free: 14.66 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7292/2.405, allocations: 34.83 MB / 0.5783 GB, free: 108.6 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001489/2.406, allocations: 31.56 kB / 0.5783 GB, free: 108.6 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008261/2.415, allocations: 0.8628 MB / 0.5792 GB, free: 108.6 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001884/2.417, allocations: 1.185 MB / 0.5803 GB, free: 108.5 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0971/2.514, allocations: 32.86 MB / 0.6124 GB, free: 98 MB / 442.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2486/2.762, allocations: 109.2 MB / 0.7191 GB, free: 0.8047 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4213/3.184, allocations: 55.78 MB / 0.7736 GB, free: 93 MB / 474.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08109/3.265, allocations: 26.34 MB / 0.7993 GB, free: 84.9 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/3.265, allocations: 133.1 kB / 0.7994 GB, free: 84.8 MB / 474.9 MB Notification: Performance of pre-optimization done (n=906): time 1.273e-05/3.265, allocations: 0 / 0.7994 GB, free: 84.8 MB / 474.9 MB Notification: Performance of matching and sorting (n=918): time 0.1135/3.379, allocations: 39.83 MB / 0.8383 GB, free: 65.97 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/3.379, allocations: 175.8 kB / 0.8385 GB, free: 65.87 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0203/3.399, allocations: 8.378 MB / 0.8467 GB, free: 62.26 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 0.001822/3.401, allocations: 173.7 kB / 0.8468 GB, free: 62.08 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.006777/3.408, allocations: 8.809 MB / 0.8554 GB, free: 54.29 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.004299/3.412, allocations: 3.098 MB / 0.8585 GB, free: 51.5 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002255/3.414, allocations: 240 kB / 0.8587 GB, free: 51.27 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 0.001134/3.416, allocations: 0.7965 MB / 0.8595 GB, free: 50.61 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01609/3.432, allocations: 6.328 MB / 0.8656 GB, free: 45.3 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01906/3.451, allocations: 10.23 MB / 0.8756 GB, free: 33.53 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02048/3.471, allocations: 8.451 MB / 0.8839 GB, free: 25.05 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001268/3.472, allocations: 36 kB / 0.8839 GB, free: 25.02 MB / 474.9 MB Notification: Performance of matching and sorting (n=1533) (initialization): time 0.05681/3.528, allocations: 20.65 MB / 0.9041 GB, free: 4.254 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/3.529, allocations: 56 kB / 0.9041 GB, free: 4.199 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/3.529, allocations: 124 kB / 0.9043 GB, free: 4.078 MB / 474.9 MB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.004873/3.534, allocations: 0.9541 MB / 0.9052 GB, free: 3.109 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02015/3.554, allocations: 2.508 MB / 0.9076 GB, free: 0.5977 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02642/3.58, allocations: 11.71 MB / 0.9191 GB, free: 4.254 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02/3.6, allocations: 0.6245 MB / 0.9197 GB, free: 3.629 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003682/3.604, allocations: 0.5429 MB / 0.9202 GB, free: 3.086 MB / 490.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 568 * Number of states: 0 () * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (1279): * Single equations (assignments): 1272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 8,(1,100.0%) 1,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02926/3.633, allocations: 7.986 MB / 0.928 GB, free: 11.08 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003595/3.637, allocations: 0.9186 MB / 0.9289 GB, free: 10.15 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4059/4.043, allocations: 17.18 MB / 0.9457 GB, free: 151 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/4.043, allocations: 93.34 kB / 0.9458 GB, free: 151 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001265/4.043, allocations: 39.84 kB / 0.9458 GB, free: 151 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002219/4.043, allocations: 49.94 kB / 0.9459 GB, free: 151 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1044/4.148, allocations: 36.21 MB / 0.9812 GB, free: 138.8 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001344/4.148, allocations: 7.562 kB / 0.9812 GB, free: 138.8 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01314/4.161, allocations: 1.45 MB / 0.9826 GB, free: 138.7 MB / 0.495 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.005767/4.167, allocations: 0.9843 MB / 0.9836 GB, free: 138.5 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002008/4.169, allocations: 203.9 kB / 0.9838 GB, free: 138.3 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/4.19, allocations: 15.92 MB / 0.9994 GB, free: 125.8 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/4.19, allocations: 7.688 kB / 0.9994 GB, free: 125.8 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06482/4.255, allocations: 24.98 MB / 1.024 GB, free: 114.7 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008361/4.264, allocations: 2.277 MB / 1.026 GB, free: 113.2 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004097/4.268, allocations: 181.3 kB / 1.026 GB, free: 113 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01128/4.279, allocations: 0.5066 MB / 1.027 GB, free: 112.6 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003227/4.282, allocations: 0.7906 MB / 1.027 GB, free: 112.2 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00191/4.284, allocations: 260.7 kB / 1.028 GB, free: 111.9 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.01467/4.299, allocations: 5.661 MB / 1.033 GB, free: 107 MB / 0.495 GB Notification: Performance of sort global known variables: time 8.01e-07/4.299, allocations: 0 / 1.033 GB, free: 107 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.01841/4.317, allocations: 3.518 MB / 1.037 GB, free: 103.5 MB / 0.495 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,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,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 (715): * Single equations (assignments): 707 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(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.06972/4.387, allocations: 25.9 MB / 1.062 GB, free: 77.88 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.03972/4.427, allocations: 16.33 MB / 1.078 GB, free: 61.47 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/4.427, allocations: 0.8125 kB / 1.078 GB, free: 61.47 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.02203/4.449, allocations: 8.837 MB / 1.087 GB, free: 52.55 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01832/4.467, allocations: 2.309 MB / 1.089 GB, free: 50.25 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7332/5.201, allocations: 127 MB / 1.213 GB, free: 95.23 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03066/5.231, allocations: 13.55 MB / 1.226 GB, free: 81.66 MB / 0.495 GB Notification: Performance of simCode: alias equations: time 0.01956/5.251, allocations: 4.027 MB / 1.23 GB, free: 77.62 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0175/5.269, allocations: 7.939 MB / 1.238 GB, free: 69.68 MB / 0.495 GB Notification: Performance of SimCode: time 1.503e-06/5.269, allocations: 0 / 1.238 GB, free: 69.68 MB / 0.495 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.266/6.535, allocations: 277.3 MB / 1.509 GB, free: 96.87 MB / 0.5107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/6.535, allocations: 299.2 kB / 1.509 GB, free: 96.52 MB / 0.5107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/19.38, allocations: 11.14 kB / 1.509 GB, free: 96.51 MB / 0.5107 GB