Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.652/1.652, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004869, allocations: 12 kB / 233.3 MB, free: 2.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08159/0.08213, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.4641, allocations: 93.26 MB / 365.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/0.4645, allocations: 91.95 kB / 365.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1962/0.6607, allocations: 41.07 MB / 406.5 MB, free: 9.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6607, allocations: 3.938 kB / 406.5 MB, free: 9.246 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002846/0.661, allocations: 44 kB / 406.6 MB, free: 9.203 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.01041/0.6715, allocations: 2.205 MB / 408.8 MB, free: 6.941 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/0.6715, allocations: 12.03 kB / 408.8 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001421/0.673, allocations: 273.7 kB / 409.1 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.6748, allocations: 265.2 kB / 409.3 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004599/0.6794, allocations: 1.369 MB / 410.7 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.6797, allocations: 139.5 kB / 410.8 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006723/0.6804, allocations: 179.9 kB / 411 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007578/0.688, allocations: 2.376 MB / 413.4 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.554e-05/0.6881, allocations: 7.906 kB / 413.4 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.6884, allocations: 79.98 kB / 413.5 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.6886, allocations: 79.48 kB / 413.5 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006672/0.6953, allocations: 1.934 MB / 415.5 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02159/0.7169, allocations: 7.444 MB / 422.9 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/0.7205, allocations: 1.324 MB / 424.2 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/0.721, allocations: 142 kB / 424.4 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.721, allocations: 39.56 kB / 424.4 MB, free: 6.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 3.967e-06/0.721, allocations: 0 / 424.4 MB, free: 6.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01684/0.7379, allocations: 5.08 MB / 429.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.738, allocations: 60.41 kB / 429.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002843/0.7408, allocations: 1.174 MB / 430.7 MB, free: 396 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002896/0.7412, allocations: 49.7 kB / 430.8 MB, free: 340 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2296/0.9708, allocations: 0.8554 MB / 431.6 MB, free: 86.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006145/0.9714, allocations: 363 kB / 432 MB, free: 85.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.9716, allocations: 25.22 kB / 432 MB, free: 85.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.9717, allocations: 358 kB / 432.4 MB, free: 85.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.9737, allocations: 0.648 MB / 433 MB, free: 85.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.9759, allocations: 0.9359 MB / 433.9 MB, free: 85.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.9781, allocations: 0.7836 MB / 434.7 MB, free: 85.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/0.9782, allocations: 2.906 kB / 434.7 MB, free: 85.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007744/0.9859, allocations: 2.381 MB / 437.1 MB, free: 85.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.986, allocations: 9.938 kB / 437.1 MB, free: 85.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/0.986, allocations: 7.812 kB / 437.1 MB, free: 85.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003615/0.9897, allocations: 0.7751 MB / 437.9 MB, free: 85.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.9915, allocations: 234.2 kB / 438.1 MB, free: 85.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/1.01, allocations: 8.875 MB / 447 MB, free: 82.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/1.012, allocations: 87.28 kB / 447.1 MB, free: 82.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/1.012, allocations: 50.92 kB / 447.1 MB, free: 82.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001695/1.014, allocations: 0.6271 MB / 447.8 MB, free: 82.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004845/1.014, allocations: 143.9 kB / 447.9 MB, free: 82.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005415/1.02, allocations: 1.951 MB / 449.9 MB, free: 82.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/1.02, allocations: 11.41 kB / 449.9 MB, free: 82.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/1.02, allocations: 3.844 kB / 449.9 MB, free: 82.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.184e-05/1.02, allocations: 3.938 kB / 449.9 MB, free: 82.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/1.031, allocations: 4.012 MB / 453.9 MB, free: 81.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/1.031, allocations: 8.703 kB / 453.9 MB, free: 81.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.032, allocations: 198.6 kB / 454.1 MB, free: 81.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/1.034, allocations: 467.7 kB / 454.6 MB, free: 81.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/1.035, allocations: 29.08 kB / 454.6 MB, free: 81.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008401/1.043, allocations: 6.313 MB / 460.9 MB, free: 76.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.043, allocations: 0 / 460.9 MB, free: 76.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/1.05, allocations: 2.952 MB / 463.8 MB, free: 75.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.051, allocations: 368.3 kB / 464.2 MB, free: 75.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004181/1.052, allocations: 29.31 kB / 464.2 MB, free: 75.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.053, allocations: 71.88 kB / 464.3 MB, free: 75.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/1.054, allocations: 82.11 kB / 464.4 MB, free: 75.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/1.054, allocations: 36.59 kB / 464.4 MB, free: 75.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001994/1.056, allocations: 0.9088 MB / 465.3 MB, free: 74.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.432e-06/1.056, allocations: 0 / 465.3 MB, free: 74.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002426/1.058, allocations: 475.2 kB / 465.8 MB, free: 74.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (87): * Single equations (assignments): 83 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007774/1.066, allocations: 4.167 MB / 470 MB, free: 72.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00554/1.072, allocations: 2.096 MB / 472.1 MB, free: 71.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.072, allocations: 3.062 kB / 472.1 MB, free: 71.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003341/1.075, allocations: 1.375 MB / 473.4 MB, free: 70.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/1.078, allocations: 344.9 kB / 473.8 MB, free: 70.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03245/1.11, allocations: 18.16 MB / 491.9 MB, free: 58.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/1.113, allocations: 1.715 MB / 493.7 MB, free: 57.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/1.115, allocations: 0.6972 MB / 494.4 MB, free: 57.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.253e-06/1.115, allocations: 3.75 kB / 494.4 MB, free: 57.09 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.444/4.558, allocations: 60.51 MB / 0.5419 GB, free: 3.168 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat does not exist to compare? outputFormat=mat