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_Initialize.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_Initialize,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 194.8 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 11.94 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09462, allocations: 44.51 MB / 308.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5266, allocations: 98.36 MB / 406.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.5269, allocations: 96.45 kB / 407 MB, free: 13.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1597/0.6867, allocations: 40.96 MB / 448 MB, free: 6.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6868, allocations: 4 kB / 448 MB, free: 6.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002217/0.687, allocations: 51.31 kB / 448 MB, free: 6.219 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.008227/0.6952, allocations: 2.219 MB / 450.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.6953, allocations: 8.031 kB / 450.3 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001042/0.6964, allocations: 269.2 kB / 450.5 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.6976, allocations: 261.2 kB / 450.8 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004722/0.7024, allocations: 1.429 MB / 452.2 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.7026, allocations: 138.3 kB / 452.3 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006174/0.7032, allocations: 185.3 kB / 452.5 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007323/0.7105, allocations: 2.386 MB / 454.9 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.075e-05/0.7107, allocations: 0 / 454.9 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/0.711, allocations: 78 kB / 455 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.7111, allocations: 78.06 kB / 455.1 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006578/0.7177, allocations: 1.936 MB / 457 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02203/0.7398, allocations: 7.499 MB / 464.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/0.7433, allocations: 1.321 MB / 465.8 MB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004197/0.7438, allocations: 142 kB / 466 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.7439, allocations: 43.52 kB / 466 MB, free: 5.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 3.247e-06/0.7439, allocations: 0 / 466 MB, free: 5.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01664/0.7605, allocations: 5.071 MB / 471.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.7606, allocations: 60.41 kB / 471.1 MB, free: 440 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/0.7635, allocations: 1.194 MB / 472.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002883/0.7638, allocations: 41.7 kB / 472.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/0.7647, allocations: 0.871 MB / 473.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00056/0.7652, allocations: 354.8 kB / 473.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.7654, allocations: 24 kB / 473.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.7656, allocations: 362.7 kB / 474 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.7674, allocations: 0.6506 MB / 474.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.7695, allocations: 0.9376 MB / 475.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.7716, allocations: 0.7798 MB / 476.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.7717, allocations: 0 / 476.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007217/0.7789, allocations: 2.384 MB / 478.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.779, allocations: 8 kB / 478.7 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.779, allocations: 8 kB / 478.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003491/0.7825, allocations: 0.7706 MB / 479.5 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.7843, allocations: 239.6 kB / 479.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.8035, allocations: 8.882 MB / 488.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.8055, allocations: 79.83 kB / 488.7 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.8057, allocations: 55.98 kB / 488.7 MB, free: 14.36 MB / 378.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.001736/0.8074, allocations: 0.6225 MB / 489.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005091/0.808, allocations: 146.3 kB / 489.5 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005788/0.8138, allocations: 1.944 MB / 491.5 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.8138, allocations: 12 kB / 491.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.8138, allocations: 4 kB / 491.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/0.8139, allocations: 7.984 kB / 491.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/0.8256, allocations: 4.043 MB / 495.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.8256, allocations: 0 / 495.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.8274, allocations: 191.7 kB / 495.7 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/0.8296, allocations: 479.1 kB / 496.2 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.8298, allocations: 27.98 kB / 496.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009764/0.8396, allocations: 6.314 MB / 0.4907 GB, free: 48 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.8396, allocations: 3.938 kB / 0.4907 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007632/0.8472, allocations: 2.949 MB / 0.4936 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.8484, allocations: 363.2 kB / 0.494 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/0.8488, allocations: 27.98 kB / 0.494 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.8502, allocations: 71.92 kB / 0.4941 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003636/0.8506, allocations: 92.77 kB / 0.4941 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.8507, allocations: 28 kB / 0.4942 GB, free: 12.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002109/0.8528, allocations: 0.923 MB / 0.4951 GB, free: 11.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8528, allocations: 0 / 0.4951 GB, free: 11.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002481/0.8553, allocations: 468 kB / 0.4955 GB, free: 11.04 MB / 394.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.008674/0.864, allocations: 4.191 MB / 0.4996 GB, free: 6.766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005953/0.87, allocations: 2.096 MB / 0.5017 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.87, allocations: 0 / 0.5017 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003544/0.8736, allocations: 1.375 MB / 0.503 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.8765, allocations: 346.3 kB / 0.5033 GB, free: 2.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03704/0.9136, allocations: 18.29 MB / 0.5212 GB, free: 40 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2731/1.187, allocations: 1.711 MB / 0.5229 GB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002739/1.19, allocations: 0.7131 MB / 0.5236 GB, free: 116.1 MB / 410.7 MB Notification: Performance of SimCode: time 2.565e-06/1.19, allocations: 0 / 0.5236 GB, free: 116.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.468/4.658, allocations: 61.03 MB / 0.5832 GB, free: 92.16 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_Initialize_res.mat does not exist to compare? outputFormat=mat