Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.691/1.691, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 12 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07821/0.07859, allocations: 38.76 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3652/0.4438, allocations: 92.81 MB / 364.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/0.4442, allocations: 87.27 kB / 365 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1775/0.6217, allocations: 40.26 MB / 405.3 MB, free: 9.895 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6217, allocations: 0 / 405.3 MB, free: 9.895 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000176/0.6219, allocations: 55.92 kB / 405.3 MB, free: 9.84 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007384/0.6293, allocations: 2.119 MB / 407.5 MB, free: 7.664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.6294, allocations: 16.02 kB / 407.5 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001071/0.6305, allocations: 265.8 kB / 407.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.6317, allocations: 257.2 kB / 408 MB, free: 7.125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/0.6357, allocations: 1.281 MB / 409.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.6359, allocations: 135.5 kB / 409.4 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005549/0.6365, allocations: 188 kB / 409.6 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006656/0.6431, allocations: 2.337 MB / 411.9 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-05/0.6433, allocations: 8.25 kB / 411.9 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002953/0.6436, allocations: 79.95 kB / 412 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.6437, allocations: 83.5 kB / 412.1 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006045/0.6498, allocations: 1.868 MB / 414 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/0.6695, allocations: 7.136 MB / 421.1 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.6729, allocations: 1.322 MB / 422.4 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/0.6734, allocations: 138 kB / 422.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.6735, allocations: 43.56 kB / 422.6 MB, free: 8.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.577e-06/0.6735, allocations: 4 kB / 422.6 MB, free: 8.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.02929/0.7028, allocations: 7.196 MB / 429.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.7029, allocations: 64.41 kB / 429.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2263/0.9292, allocations: 1.005 MB / 430.9 MB, free: 86.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002908/0.9295, allocations: 46.52 kB / 430.9 MB, free: 86.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007275/0.9303, allocations: 0.8537 MB / 431.8 MB, free: 86.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005237/0.9308, allocations: 395.1 kB / 432.1 MB, free: 86.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.9309, allocations: 29.86 kB / 432.2 MB, free: 86.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9311, allocations: 355.9 kB / 432.5 MB, free: 86.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.9331, allocations: 0.6825 MB / 433.2 MB, free: 86.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.9352, allocations: 0.9813 MB / 434.2 MB, free: 86.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.9374, allocations: 0.8284 MB / 435 MB, free: 86.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.9375, allocations: 6.016 kB / 435 MB, free: 86.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007296/0.9448, allocations: 2.427 MB / 437.4 MB, free: 85.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.9449, allocations: 13.67 kB / 437.5 MB, free: 85.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.9449, allocations: 8.719 kB / 437.5 MB, free: 85.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/0.9477, allocations: 0.6356 MB / 438.1 MB, free: 85.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.9499, allocations: 281.5 kB / 438.4 MB, free: 85.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.9617, allocations: 6.521 MB / 444.9 MB, free: 83.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/0.9636, allocations: 96 kB / 445 MB, free: 83.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.9639, allocations: 55.66 kB / 445.1 MB, free: 83.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001552/0.9654, allocations: 0.5996 MB / 445.7 MB, free: 83.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004561/0.9659, allocations: 136.8 kB / 445.8 MB, free: 83.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006384/0.9723, allocations: 2.278 MB / 448.1 MB, free: 82.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.9724, allocations: 11.72 kB / 448.1 MB, free: 82.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.9724, allocations: 3.969 kB / 448.1 MB, free: 82.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/0.9724, allocations: 7.547 kB / 448.1 MB, free: 82.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.9837, allocations: 4.421 MB / 452.5 MB, free: 82.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.9838, allocations: 6.094 kB / 452.5 MB, free: 82.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.9852, allocations: 175.8 kB / 452.7 MB, free: 82.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003175/0.9884, allocations: 0.7261 MB / 453.4 MB, free: 82.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/0.9887, allocations: 32.94 kB / 453.4 MB, free: 82.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/1.002, allocations: 8.298 MB / 461.7 MB, free: 76.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.002, allocations: 4.281 kB / 461.7 MB, free: 76.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008029/1.01, allocations: 3.36 MB / 465.1 MB, free: 75.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.011, allocations: 361.1 kB / 465.5 MB, free: 74.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/1.011, allocations: 27.48 kB / 465.5 MB, free: 74.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.013, allocations: 83.77 kB / 465.6 MB, free: 74.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/1.013, allocations: 105.6 kB / 465.7 MB, free: 74.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.013, allocations: 30.22 kB / 465.7 MB, free: 74.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001506/1.015, allocations: 0.7846 MB / 466.5 MB, free: 74.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.015, allocations: 0 / 466.5 MB, free: 74.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002189/1.017, allocations: 473.2 kB / 466.9 MB, free: 74.42 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.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (83): * Single equations (assignments): 79 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008745/1.026, allocations: 4.721 MB / 471.7 MB, free: 71.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005613/1.031, allocations: 2.313 MB / 474 MB, free: 70.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.031, allocations: 2.438 kB / 474 MB, free: 70.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003971/1.035, allocations: 1.598 MB / 475.6 MB, free: 69.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/1.038, allocations: 352.9 kB / 475.9 MB, free: 69.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02865/1.067, allocations: 17.69 MB / 493.6 MB, free: 57.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/1.068, allocations: 1.68 MB / 495.3 MB, free: 56.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001524/1.07, allocations: 292.3 kB / 495.6 MB, free: 56.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.071, allocations: 0.6784 MB / 496.3 MB, free: 55.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/1.071, allocations: 0 / 496.3 MB, free: 55.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09511/1.166, allocations: 39.19 MB / 0.5229 GB, free: 21.91 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/1.166, allocations: 244.2 kB / 0.5231 GB, free: 21.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/4.839, allocations: 4.062 kB / 0.5231 GB, free: 21.66 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat