Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003683, allocations: 15.94 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 44.49 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4344/0.5355, allocations: 99.66 MB / 408.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.5358, allocations: 88.33 kB / 408.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1649/0.7007, allocations: 41.38 MB / 449.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7008, allocations: 4 kB / 449.7 MB, free: 4.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002213/0.701, allocations: 51.94 kB / 449.7 MB, free: 4.668 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.008442/0.7095, allocations: 2.202 MB / 451.9 MB, free: 2.559 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.7096, allocations: 12.03 kB / 451.9 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001194/0.7108, allocations: 285.4 kB / 452.2 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.7121, allocations: 269.1 kB / 452.5 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004697/0.7168, allocations: 1.386 MB / 453.9 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.7171, allocations: 141.3 kB / 454 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006324/0.7177, allocations: 193.1 kB / 454.2 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007243/0.725, allocations: 2.41 MB / 456.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.7251, allocations: 6.562 kB / 456.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/0.7255, allocations: 80.19 kB / 456.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.7256, allocations: 86.23 kB / 456.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006451/0.7321, allocations: 1.908 MB / 458.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02317/0.7553, allocations: 7.831 MB / 466.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003772/0.7591, allocations: 1.398 MB / 467.9 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/0.7597, allocations: 142 kB / 468 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.7597, allocations: 47.5 kB / 468.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 3.727e-06/0.7598, allocations: 4 kB / 468.1 MB, free: 3.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.02612/0.7859, allocations: 6.293 MB / 474.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.786, allocations: 68.7 kB / 474.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/0.7891, allocations: 1.091 MB / 475.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003699/0.7895, allocations: 49.7 kB / 475.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009255/0.7905, allocations: 0.8597 MB / 476.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000791/0.7913, allocations: 441.6 kB / 476.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.7915, allocations: 32 kB / 476.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.7917, allocations: 362.8 kB / 477.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.7938, allocations: 0.6793 MB / 478 MB, free: 9.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/0.7964, allocations: 0.9959 MB / 478.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/0.799, allocations: 0.8223 MB / 479.8 MB, free: 7.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.7991, allocations: 4 kB / 479.8 MB, free: 7.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007711/0.8068, allocations: 2.301 MB / 482.1 MB, free: 5.258 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.8069, allocations: 12.62 kB / 482.1 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.8069, allocations: 11.95 kB / 482.1 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002508/0.8095, allocations: 0.5633 MB / 482.7 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/0.8119, allocations: 299.5 kB / 483 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/0.8263, allocations: 8.602 MB / 491.6 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.8284, allocations: 91.77 kB / 491.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000309/0.8288, allocations: 64.05 kB / 491.7 MB, free: 11.07 MB / 378.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.001956/0.8307, allocations: 0.595 MB / 492.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005856/0.8313, allocations: 146.2 kB / 492.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007202/0.8386, allocations: 2.197 MB / 494.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.8386, allocations: 15.98 kB / 494.7 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.482e-05/0.8387, allocations: 15.94 kB / 494.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-05/0.8387, allocations: 3.984 kB / 494.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.8531, allocations: 4.38 MB / 499.1 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/0.8532, allocations: 4 kB / 499.1 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/0.8551, allocations: 195.7 kB / 499.3 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/0.8582, allocations: 0.6296 MB / 499.9 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003335/0.8586, allocations: 35.98 kB / 499.9 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/0.8754, allocations: 10.16 MB / 0.4981 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.8754, allocations: 3.984 kB / 0.4981 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009668/0.8851, allocations: 3.282 MB / 0.5013 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.8865, allocations: 371.5 kB / 0.5017 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005168/0.8871, allocations: 31.98 kB / 0.5017 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.8889, allocations: 75.88 kB / 0.5018 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005458/0.8895, allocations: 112.9 kB / 0.5019 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/0.8896, allocations: 40.17 kB / 0.5019 GB, free: 3.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002233/0.8919, allocations: 0.8443 MB / 0.5028 GB, free: 2.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.8919, allocations: 0 / 0.5028 GB, free: 2.996 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003072/0.895, allocations: 0.4921 MB / 0.5032 GB, free: 2.504 MB / 394.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.01103/0.9061, allocations: 4.639 MB / 0.5078 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007008/0.9131, allocations: 2.516 MB / 0.5102 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.9132, allocations: 0 / 0.5102 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004589/0.9178, allocations: 1.759 MB / 0.5119 GB, free: 9.293 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/0.9213, allocations: 377.3 kB / 0.5123 GB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2959/1.217, allocations: 18.52 MB / 0.5304 GB, free: 109.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/1.22, allocations: 1.68 MB / 0.532 GB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001759/1.221, allocations: 0.7242 MB / 0.5327 GB, free: 108.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/1.221, allocations: 0 / 0.5327 GB, free: 108.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.806/5.027, allocations: 86.89 MB / 0.6176 GB, free: 55.56 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat