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_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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.291, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.4614, allocations: 97.89 MB / 406.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/0.4618, allocations: 87.95 kB / 406.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4063/0.8682, allocations: 40.18 MB / 446.7 MB, free: 78.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.8682, allocations: 4 kB / 446.7 MB, free: 78.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001925/0.8684, allocations: 51.94 kB / 446.8 MB, free: 78.53 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.007701/0.8762, allocations: 2.134 MB / 448.9 MB, free: 76.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.8762, allocations: 12.03 kB / 448.9 MB, free: 76.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001142/0.8774, allocations: 265.8 kB / 449.2 MB, free: 76.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.8788, allocations: 253.2 kB / 449.4 MB, free: 75.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/0.8831, allocations: 1.346 MB / 450.8 MB, free: 74.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.8833, allocations: 135.6 kB / 450.9 MB, free: 74.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006429/0.884, allocations: 187.9 kB / 451.1 MB, free: 74.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008163/0.8921, allocations: 2.343 MB / 453.4 MB, free: 71.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.8923, allocations: 11.84 kB / 453.4 MB, free: 71.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/0.8927, allocations: 76 kB / 453.5 MB, free: 71.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.8928, allocations: 79.52 kB / 453.6 MB, free: 71.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005864/0.8987, allocations: 1.884 MB / 455.5 MB, free: 69.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01723/0.916, allocations: 7.172 MB / 462.7 MB, free: 62.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.919, allocations: 1.324 MB / 464 MB, free: 60.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/0.9194, allocations: 138 kB / 464.1 MB, free: 60.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.9195, allocations: 43.56 kB / 464.2 MB, free: 60.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.768e-06/0.9195, allocations: 0 / 464.2 MB, free: 60.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.02586/0.9454, allocations: 7.199 MB / 471.4 MB, free: 53.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.9454, allocations: 64.41 kB / 471.4 MB, free: 53.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.9475, allocations: 1.04 MB / 472.5 MB, free: 52.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.9477, allocations: 41.7 kB / 472.5 MB, free: 52.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000604/0.9483, allocations: 0.8575 MB / 473.4 MB, free: 51.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.9487, allocations: 398.3 kB / 473.7 MB, free: 50.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.9488, allocations: 24 kB / 473.8 MB, free: 50.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.9489, allocations: 361.9 kB / 474.1 MB, free: 50.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.9507, allocations: 0.6818 MB / 474.8 MB, free: 49.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.9524, allocations: 0.9775 MB / 475.8 MB, free: 48.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.9543, allocations: 0.8345 MB / 476.6 MB, free: 47.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.9544, allocations: 4 kB / 476.6 MB, free: 47.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006244/0.9606, allocations: 2.424 MB / 479 MB, free: 45.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.9607, allocations: 8 kB / 479 MB, free: 45.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.9607, allocations: 8 kB / 479.1 MB, free: 45.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/0.9632, allocations: 0.6414 MB / 479.7 MB, free: 44.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.9652, allocations: 283.5 kB / 480 MB, free: 44.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.9755, allocations: 6.526 MB / 486.5 MB, free: 37.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.9774, allocations: 95.86 kB / 486.6 MB, free: 37.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.9776, allocations: 52 kB / 486.6 MB, free: 37.53 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.001433/0.9791, allocations: 0.6027 MB / 487.2 MB, free: 36.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.9795, allocations: 138.3 kB / 487.4 MB, free: 36.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00619/0.9857, allocations: 2.275 MB / 489.7 MB, free: 34.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.9858, allocations: 12 kB / 489.7 MB, free: 34.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.9858, allocations: 7.938 kB / 489.7 MB, free: 34.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/0.9858, allocations: 3.984 kB / 489.7 MB, free: 34.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.9974, allocations: 4.43 MB / 494.1 MB, free: 29.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.9974, allocations: 4 kB / 494.1 MB, free: 29.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.9988, allocations: 172 kB / 494.3 MB, free: 29.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003065/1.002, allocations: 0.7341 MB / 495 MB, free: 29.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/1.002, allocations: 35.94 kB / 495.1 MB, free: 28.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/1.015, allocations: 8.303 MB / 0.4916 GB, free: 20.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.015, allocations: 0 / 0.4916 GB, free: 20.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007772/1.023, allocations: 3.363 MB / 0.4948 GB, free: 16.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.024, allocations: 367.2 kB / 0.4952 GB, free: 16.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/1.024, allocations: 28 kB / 0.4952 GB, free: 16.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.025, allocations: 87.91 kB / 0.4953 GB, free: 16.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/1.026, allocations: 100.8 kB / 0.4954 GB, free: 16.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.026, allocations: 35.98 kB / 0.4954 GB, free: 16.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001528/1.027, allocations: 0.7989 MB / 0.4962 GB, free: 15.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.027, allocations: 4 kB / 0.4962 GB, free: 15.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002008/1.029, allocations: 468 kB / 0.4967 GB, free: 14.93 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.008505/1.038, allocations: 4.729 MB / 0.5013 GB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0054/1.043, allocations: 2.324 MB / 0.5036 GB, free: 7.703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.043, allocations: 1.938 kB / 0.5036 GB, free: 7.703 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003894/1.047, allocations: 1.581 MB / 0.5051 GB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.05, allocations: 354 kB / 0.5054 GB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03229/1.082, allocations: 17.84 MB / 0.5229 GB, free: 3.328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/1.085, allocations: 1.689 MB / 0.5245 GB, free: 1.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001687/1.086, allocations: 288 kB / 0.5248 GB, free: 1.316 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/1.088, allocations: 0.6789 MB / 0.5254 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/1.088, allocations: 0 / 0.5254 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3895/1.478, allocations: 39.66 MB / 0.5642 GB, free: 116.3 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/1.478, allocations: 232.4 kB / 0.5644 GB, free: 116 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.879/5.357, allocations: 3.938 kB / 0.5644 GB, free: 116 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat