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_Steinmetz.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_Steinmetz,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 194.9 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003466, allocations: 15.98 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.292, allocations: 44.5 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.4945, allocations: 99.66 MB / 408.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.4949, allocations: 91.95 kB / 408.3 MB, free: 8.652 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4543/0.9492, allocations: 41.37 MB / 449.7 MB, free: 75.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.9493, allocations: 0 / 449.7 MB, free: 75.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001871/0.9495, allocations: 55.94 kB / 449.7 MB, free: 75.41 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.008048/0.9576, allocations: 2.202 MB / 452 MB, free: 73.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.9576, allocations: 16.03 kB / 452 MB, free: 73.13 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001229/0.9589, allocations: 278.5 kB / 452.2 MB, free: 72.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.9603, allocations: 273 kB / 452.5 MB, free: 72.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004836/0.9652, allocations: 1.38 MB / 453.9 MB, free: 71.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.9654, allocations: 147.8 kB / 454 MB, free: 71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006976/0.9661, allocations: 191.9 kB / 454.2 MB, free: 70.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006034/0.9722, allocations: 2.412 MB / 456.6 MB, free: 68.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-05/0.9723, allocations: 4 kB / 456.6 MB, free: 68.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002938/0.9726, allocations: 83.98 kB / 456.7 MB, free: 68.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.9727, allocations: 87.64 kB / 456.8 MB, free: 68.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005625/0.9784, allocations: 1.904 MB / 458.7 MB, free: 66.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/0.997, allocations: 7.831 MB / 466.5 MB, free: 58.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/0.9999, allocations: 1.395 MB / 467.9 MB, free: 56.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003714/1, allocations: 134 kB / 468.1 MB, free: 56.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/1, allocations: 47.5 kB / 468.1 MB, free: 56.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 3.997e-06/1, allocations: 0 / 468.1 MB, free: 56.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.02185/1.022, allocations: 6.302 MB / 474.4 MB, free: 50.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/1.022, allocations: 64.72 kB / 474.5 MB, free: 50.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/1.024, allocations: 1.103 MB / 475.6 MB, free: 48.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002544/1.025, allocations: 45.7 kB / 475.6 MB, free: 48.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006225/1.025, allocations: 0.8815 MB / 476.5 MB, free: 47.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/1.026, allocations: 445.6 kB / 476.9 MB, free: 47.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/1.026, allocations: 28 kB / 477 MB, free: 47.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/1.026, allocations: 365.8 kB / 477.3 MB, free: 47.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/1.028, allocations: 0.6754 MB / 478 MB, free: 46.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/1.03, allocations: 0.9929 MB / 479 MB, free: 45.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/1.031, allocations: 0.8262 MB / 479.8 MB, free: 44.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.031, allocations: 0 / 479.8 MB, free: 44.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005884/1.037, allocations: 2.39 MB / 482.2 MB, free: 42.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/1.037, allocations: 12.25 kB / 482.2 MB, free: 42.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.037, allocations: 12 kB / 482.2 MB, free: 42.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/1.04, allocations: 0.5632 MB / 482.8 MB, free: 41.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/1.042, allocations: 299.5 kB / 483.1 MB, free: 41.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.053, allocations: 8.599 MB / 491.7 MB, free: 32.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.055, allocations: 91.81 kB / 491.8 MB, free: 31.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/1.055, allocations: 56 kB / 491.8 MB, free: 31.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 138 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001435/1.057, allocations: 0.6108 MB / 492.4 MB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/1.057, allocations: 150.2 kB / 492.6 MB, free: 31.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005583/1.063, allocations: 2.2 MB / 494.8 MB, free: 28.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/1.063, allocations: 12 kB / 494.8 MB, free: 28.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/1.063, allocations: 7.953 kB / 494.8 MB, free: 28.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/1.063, allocations: 7.969 kB / 494.8 MB, free: 28.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/1.074, allocations: 4.4 MB / 499.2 MB, free: 24.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.074, allocations: 4 kB / 499.2 MB, free: 24.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/1.076, allocations: 195.7 kB / 499.4 MB, free: 24.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002725/1.078, allocations: 0.6179 MB / 0.4883 GB, free: 23.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002573/1.079, allocations: 35.98 kB / 0.4883 GB, free: 23.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/1.092, allocations: 10.17 MB / 0.4983 GB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.092, allocations: 0 / 0.4983 GB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008002/1.1, allocations: 3.286 MB / 0.5015 GB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.101, allocations: 371.2 kB / 0.5018 GB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004761/1.102, allocations: 35.92 kB / 0.5019 GB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/1.103, allocations: 76.17 kB / 0.5019 GB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/1.104, allocations: 116.8 kB / 0.5021 GB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.104, allocations: 39.98 kB / 0.5021 GB, free: 8.641 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001711/1.106, allocations: 0.8443 MB / 0.5029 GB, free: 7.793 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/1.106, allocations: 0 / 0.5029 GB, free: 7.793 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002781/1.108, allocations: 496 kB / 0.5034 GB, free: 7.309 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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: 5 * 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: 5 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008549/1.117, allocations: 4.632 MB / 0.5079 GB, free: 2.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005507/1.123, allocations: 2.508 MB / 0.5104 GB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.123, allocations: 8.688 kB / 0.5104 GB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004522/1.127, allocations: 1.743 MB / 0.5121 GB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/1.131, allocations: 396.3 kB / 0.5125 GB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/1.169, allocations: 18.49 MB / 0.5305 GB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002132/1.171, allocations: 1.701 MB / 0.5322 GB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001902/1.173, allocations: 332.9 kB / 0.5325 GB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/1.174, allocations: 0.7102 MB / 0.5332 GB, free: 7.918 MB / 378.7 MB Notification: Performance of SimCode: time 1.412e-06/1.174, allocations: 0 / 0.5332 GB, free: 7.918 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.369/1.543, allocations: 41.28 MB / 0.5735 GB, free: 112.7 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/1.544, allocations: 233.1 kB / 0.5737 GB, free: 112.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.959/5.502, allocations: 4 kB / 0.5737 GB, free: 112.4 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_Steinmetz_res.mat does not exist to compare? outputFormat=mat