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_Inverter.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_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.95/1.95, allocations: 194.8 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003369, allocations: 8 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2874, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01834/0.3058, allocations: 10.39 MB / 319 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.3162, allocations: 3.987 MB / 323 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.3186, allocations: 63.69 kB / 323 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003521/0.3221, allocations: 0.7385 MB / 323.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00494/0.3271, allocations: 1.098 MB / 324.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.3299, allocations: 0.6002 MB / 325.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006776/0.3367, allocations: 2.722 MB / 328.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004504/0.3413, allocations: 2.166 MB / 330.3 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.344, allocations: 1.207 MB / 331.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00346/0.3475, allocations: 1.459 MB / 333 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008343/0.3484, allocations: 200 kB / 333.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.3501, allocations: 363.8 kB / 333.6 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009945/0.3511, allocations: 0.7047 MB / 334.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.3523, allocations: 0.7188 MB / 335 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00861/0.361, allocations: 5.353 MB / 340.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.361, allocations: 7.938 kB / 340.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.468e-06/0.361, allocations: 0 / 340.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001719/0.3612, allocations: 0 / 340.3 MB, free: 12.75 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.0151/0.3763, allocations: 3.661 MB / 344 MB, free: 9.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.3764, allocations: 16.02 kB / 344 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001377/0.3778, allocations: 443 kB / 344.4 MB, free: 8.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006676/0.3845, allocations: 0.8038 MB / 345.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006592/0.3911, allocations: 2.138 MB / 347.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.3915, allocations: 238.2 kB / 347.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.3927, allocations: 311.9 kB / 347.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/0.4066, allocations: 4.18 MB / 352.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.4068, allocations: 3.938 kB / 352.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007718/0.4076, allocations: 131.9 kB / 352.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002489/0.4078, allocations: 154.3 kB / 352.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/0.4203, allocations: 3.589 MB / 356 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03625/0.4566, allocations: 13.21 MB / 369.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.4684, allocations: 6.885 MB / 376.1 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008745/0.4772, allocations: 3.187 MB / 379.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.4773, allocations: 47.88 kB / 379.3 MB, free: 4.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=131): time 5.12e-06/0.4773, allocations: 0 / 379.3 MB, free: 4.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=135): time 0.02042/0.4977, allocations: 5.787 MB / 385.1 MB, free: 14.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.4978, allocations: 68.66 kB / 385.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/0.5015, allocations: 1.638 MB / 386.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002776/0.5018, allocations: 49.7 kB / 386.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.5033, allocations: 1.38 MB / 388.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007007/0.504, allocations: 477.1 kB / 388.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.5042, allocations: 32 kB / 388.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.5044, allocations: 373.9 kB / 389.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/0.5065, allocations: 0.6832 MB / 389.8 MB, free: 9.543 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.509, allocations: 1.129 MB / 390.9 MB, free: 8.227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/0.5116, allocations: 0.8926 MB / 391.8 MB, free: 7.332 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.5116, allocations: 4 kB / 391.8 MB, free: 7.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006943/0.5185, allocations: 2.405 MB / 394.2 MB, free: 4.883 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.5186, allocations: 12.28 kB / 394.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.602e-05/0.5187, allocations: 20 kB / 394.2 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.5198, allocations: 263.2 kB / 394.5 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/0.5228, allocations: 383.4 kB / 394.9 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008548/0.5314, allocations: 5.753 MB / 400.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.5335, allocations: 83.81 kB / 400.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.5337, allocations: 71.98 kB / 400.8 MB, free: 13.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (188): * Single equations (assignments): 184 * 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: 3 * 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: 3 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002667/0.5364, allocations: 0.9972 MB / 401.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005745/0.537, allocations: 181.8 kB / 401.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006675/0.5437, allocations: 2.26 MB / 404.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.5438, allocations: 16 kB / 404.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.5438, allocations: 8.062 kB / 404.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.147e-05/0.5438, allocations: 11.97 kB / 404.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.5574, allocations: 5.105 MB / 409.3 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.5575, allocations: 4 kB / 409.4 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.5593, allocations: 200 kB / 409.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/0.5613, allocations: 440 kB / 410 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/0.5615, allocations: 39.98 kB / 410 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2716/0.8331, allocations: 10.17 MB / 420.2 MB, free: 84.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.8332, allocations: 8.531 kB / 420.2 MB, free: 84.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00759/0.8408, allocations: 3.208 MB / 423.4 MB, free: 82.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.842, allocations: 418.9 kB / 423.8 MB, free: 82.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/0.8424, allocations: 39.67 kB / 423.9 MB, free: 82.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.844, allocations: 73.08 kB / 423.9 MB, free: 82.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003896/0.8445, allocations: 97.64 kB / 424 MB, free: 82.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.8446, allocations: 45.75 kB / 424.1 MB, free: 82.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002342/0.847, allocations: 1.121 MB / 425.2 MB, free: 82.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.847, allocations: 0 / 425.2 MB, free: 82.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003003/0.85, allocations: 0.5435 MB / 425.7 MB, free: 82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * 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 (98): * Single equations (assignments): 93 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008021/0.8581, allocations: 3.813 MB / 429.5 MB, free: 79.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004908/0.863, allocations: 2.192 MB / 431.7 MB, free: 78.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.8631, allocations: 0 / 431.7 MB, free: 78.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003701/0.8668, allocations: 1.599 MB / 433.3 MB, free: 77.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/0.8703, allocations: 490.1 kB / 433.8 MB, free: 77.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05627/0.9266, allocations: 15.75 MB / 449.6 MB, free: 62.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00376/0.9304, allocations: 2.344 MB / 451.9 MB, free: 59.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002853/0.9333, allocations: 391.8 kB / 452.3 MB, free: 59.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/0.9351, allocations: 1.093 MB / 453.4 MB, free: 58.4 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.9351, allocations: 0.7656 kB / 453.4 MB, free: 58.4 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.037, allocations: 46.27 MB / 499.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/1.037, allocations: 224.2 kB / 499.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.099/5.137, allocations: 0 / 499.9 MB, free: 11.85 MB / 346.7 MB