Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006398/0.0006398, allocations: 12 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3009, allocations: 44.51 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.4838, allocations: 104.2 MB / 412.8 MB, free: 4.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.4843, allocations: 91.95 kB / 412.9 MB, free: 4.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4648/0.9491, allocations: 51.38 MB / 464.3 MB, free: 61.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.9492, allocations: 0 / 464.3 MB, free: 61.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000302/0.9495, allocations: 55.94 kB / 464.3 MB, free: 61.05 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01007/0.9596, allocations: 2.782 MB / 467.1 MB, free: 58.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.9597, allocations: 8.031 kB / 467.1 MB, free: 58.19 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00141/0.9611, allocations: 363 kB / 467.5 MB, free: 57.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.9628, allocations: 328.3 kB / 467.8 MB, free: 57.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005935/0.9688, allocations: 1.791 MB / 469.6 MB, free: 55.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.969, allocations: 160 kB / 469.7 MB, free: 55.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007164/0.9698, allocations: 207.9 kB / 469.9 MB, free: 55.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007867/0.9776, allocations: 2.711 MB / 472.6 MB, free: 52.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.176e-05/0.9778, allocations: 4 kB / 472.6 MB, free: 52.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003121/0.9781, allocations: 88 kB / 472.7 MB, free: 52.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.9782, allocations: 88.05 kB / 472.8 MB, free: 52.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007127/0.9854, allocations: 2.21 MB / 475 MB, free: 50.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/1.007, allocations: 8.393 MB / 483.4 MB, free: 41.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004879/1.011, allocations: 1.686 MB / 485.1 MB, free: 39.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004621/1.012, allocations: 138 kB / 485.2 MB, free: 39.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/1.012, allocations: 51.56 kB / 485.3 MB, free: 39.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=119): time 4.519e-06/1.012, allocations: 3.984 kB / 485.3 MB, free: 39.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=135): time 0.02299/1.035, allocations: 6.698 MB / 492 MB, free: 32.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.035, allocations: 64.72 kB / 492.1 MB, free: 32.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003951/1.039, allocations: 1.888 MB / 493.9 MB, free: 30.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003629/1.04, allocations: 45.7 kB / 494 MB, free: 30.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008611/1.04, allocations: 1.112 MB / 495.1 MB, free: 29.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005244/1.041, allocations: 469.1 kB / 495.6 MB, free: 28.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/1.041, allocations: 24 kB / 495.6 MB, free: 28.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/1.041, allocations: 365.9 kB / 495.9 MB, free: 28.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/1.043, allocations: 0.773 MB / 496.7 MB, free: 27.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/1.046, allocations: 1.025 MB / 497.7 MB, free: 26.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/1.048, allocations: 0.9372 MB / 498.7 MB, free: 25.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/1.048, allocations: 3.938 kB / 498.7 MB, free: 25.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00872/1.057, allocations: 2.868 MB / 0.4898 GB, free: 22.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/1.057, allocations: 33.7 kB / 0.4898 GB, free: 22.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/1.057, allocations: 8 kB / 0.4898 GB, free: 22.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0037/1.061, allocations: 0.8504 MB / 0.4907 GB, free: 21.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/1.063, allocations: 263.6 kB / 0.4909 GB, free: 21.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02519/1.088, allocations: 9.638 MB / 0.5003 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/1.091, allocations: 104 kB / 0.5004 GB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002754/1.092, allocations: 55.98 kB / 0.5005 GB, free: 11.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (124): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002403/1.094, allocations: 0.7472 MB / 0.5012 GB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008607/1.095, allocations: 197.6 kB / 0.5014 GB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.105, allocations: 2.594 MB / 0.5039 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/1.105, allocations: 15.95 kB / 0.5039 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/1.105, allocations: 8.375 kB / 0.504 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/1.105, allocations: 7.969 kB / 0.504 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01887/1.124, allocations: 5.109 MB / 0.509 GB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/1.124, allocations: 8 kB / 0.509 GB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/1.127, allocations: 223.8 kB / 0.5092 GB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004242/1.131, allocations: 0.7027 MB / 0.5099 GB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002917/1.131, allocations: 39.98 kB / 0.5099 GB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/1.15, allocations: 8.675 MB / 0.5184 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.15, allocations: 7.984 kB / 0.5184 GB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.162, allocations: 3.732 MB / 0.522 GB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.164, allocations: 482.5 kB / 0.5225 GB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005695/1.164, allocations: 24 kB / 0.5225 GB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/1.166, allocations: 107.8 kB / 0.5226 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/1.167, allocations: 105.1 kB / 0.5227 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.167, allocations: 39.98 kB / 0.5227 GB, free: 4.148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003653/1.171, allocations: 1.468 MB / 0.5242 GB, free: 2.656 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.171, allocations: 0 / 0.5242 GB, free: 2.656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003224/1.174, allocations: 0.5976 MB / 0.5248 GB, free: 2.059 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01336/1.187, allocations: 5.04 MB / 0.5297 GB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008317/1.196, allocations: 2.575 MB / 0.5322 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.196, allocations: 0 / 0.5322 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005162/1.201, allocations: 1.742 MB / 0.5339 GB, free: 8.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/1.204, allocations: 410.1 kB / 0.5343 GB, free: 8.145 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/1.226, allocations: 12.16 MB / 0.5462 GB, free: 11.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003183/1.229, allocations: 2.018 MB / 0.5481 GB, free: 9.508 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002314/1.232, allocations: 391.7 kB / 0.5485 GB, free: 9.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002411/1.234, allocations: 0.9601 MB / 0.5495 GB, free: 8.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/1.234, allocations: 0 / 0.5495 GB, free: 8.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3845/1.619, allocations: 50.42 MB / 0.5987 GB, free: 92.69 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.619, allocations: 286.4 kB / 0.599 GB, free: 92.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.474/6.093, allocations: 0 / 0.599 GB, free: 92.33 MB / 394.7 MB