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_YD.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_YD,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003476, allocations: 12 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.294, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.4833, allocations: 100.5 MB / 409 MB, free: 8.164 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/0.4837, allocations: 87.95 kB / 409.1 MB, free: 8.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4806/0.9643, allocations: 49.05 MB / 458.2 MB, free: 67.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.9644, allocations: 0 / 458.2 MB, free: 67.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003931/0.9648, allocations: 63.92 kB / 458.2 MB, free: 67.35 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.01432/0.9791, allocations: 2.75 MB / 461 MB, free: 64.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.9792, allocations: 8.031 kB / 461 MB, free: 64.53 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001842/0.9811, allocations: 341 kB / 461.3 MB, free: 64.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/0.9835, allocations: 328.4 kB / 461.6 MB, free: 63.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008446/0.992, allocations: 1.736 MB / 463.4 MB, free: 62.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/0.9925, allocations: 176.9 kB / 463.5 MB, free: 61.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.9939, allocations: 227.9 kB / 463.8 MB, free: 61.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/1.009, allocations: 3.165 MB / 466.9 MB, free: 58.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000194/1.009, allocations: 7.891 kB / 466.9 MB, free: 58.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009031/1.01, allocations: 100 kB / 467 MB, free: 58.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/1.01, allocations: 96.44 kB / 467.1 MB, free: 58.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/1.022, allocations: 2.637 MB / 469.8 MB, free: 55.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03769/1.06, allocations: 9.926 MB / 479.7 MB, free: 45.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/1.064, allocations: 2.143 MB / 481.8 MB, free: 43.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004655/1.065, allocations: 138.4 kB / 482 MB, free: 42.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.065, allocations: 43.88 kB / 482 MB, free: 42.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=129): time 4.679e-06/1.065, allocations: 0 / 482 MB, free: 42.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.03511/1.1, allocations: 8.067 MB / 490.1 MB, free: 34.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/1.1, allocations: 64.72 kB / 490.1 MB, free: 34.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/1.103, allocations: 1.465 MB / 491.6 MB, free: 33.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003438/1.103, allocations: 57.64 kB / 491.7 MB, free: 33.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008048/1.104, allocations: 1.066 MB / 492.7 MB, free: 31.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005072/1.105, allocations: 492.9 kB / 493.2 MB, free: 31.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/1.105, allocations: 32 kB / 493.2 MB, free: 31.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/1.105, allocations: 373.9 kB / 493.6 MB, free: 31.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/1.107, allocations: 0.9174 MB / 494.5 MB, free: 30.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002322/1.11, allocations: 1.23 MB / 495.8 MB, free: 28.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/1.112, allocations: 1.064 MB / 496.8 MB, free: 27.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/1.112, allocations: 4 kB / 496.8 MB, free: 27.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007767/1.12, allocations: 3.037 MB / 499.9 MB, free: 24.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/1.12, allocations: 12 kB / 499.9 MB, free: 24.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/1.12, allocations: 8 kB / 499.9 MB, free: 24.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/1.123, allocations: 0.8455 MB / 0.489 GB, free: 23.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/1.126, allocations: 311.5 kB / 0.4893 GB, free: 23.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/1.14, allocations: 9.343 MB / 0.4984 GB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/1.143, allocations: 95.91 kB / 0.4985 GB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/1.143, allocations: 63.98 kB / 0.4986 GB, free: 13.58 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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002063/1.145, allocations: 0.8096 MB / 0.4994 GB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006147/1.146, allocations: 185.7 kB / 0.4995 GB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007734/1.153, allocations: 2.897 MB / 0.5024 GB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/1.153, allocations: 12 kB / 0.5024 GB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/1.153, allocations: 8 kB / 0.5024 GB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/1.153, allocations: 7.969 kB / 0.5024 GB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/1.168, allocations: 5.69 MB / 0.508 GB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.168, allocations: 0 / 0.508 GB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.17, allocations: 211.7 kB / 0.5082 GB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003882/1.174, allocations: 0.9019 MB / 0.509 GB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003172/1.174, allocations: 35.98 kB / 0.5091 GB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/1.198, allocations: 10.89 MB / 0.5197 GB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/1.198, allocations: 4.031 kB / 0.5197 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/1.216, allocations: 4.378 MB / 0.524 GB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/1.218, allocations: 466.7 kB / 0.5244 GB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007552/1.219, allocations: 39.94 kB / 0.5245 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.222, allocations: 96.28 kB / 0.5246 GB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007663/1.223, allocations: 145.1 kB / 0.5247 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002437/1.223, allocations: 39.98 kB / 0.5247 GB, free: 1.934 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003751/1.227, allocations: 1.126 MB / 0.5258 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.227, allocations: 3.938 kB / 0.5258 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004806/1.231, allocations: 0.582 MB / 0.5264 GB, free: 232 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01868/1.25, allocations: 5.731 MB / 0.532 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01083/1.261, allocations: 3.021 MB / 0.535 GB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.261, allocations: 0 / 0.535 GB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00598/1.267, allocations: 2.07 MB / 0.537 GB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/1.271, allocations: 490.2 kB / 0.5374 GB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3097/1.581, allocations: 21.83 MB / 0.5588 GB, free: 108 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/1.584, allocations: 2.068 MB / 0.5608 GB, free: 107.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002136/1.586, allocations: 399.9 kB / 0.5612 GB, free: 107.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.588, allocations: 0.8849 MB / 0.562 GB, free: 107.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/1.588, allocations: 0 / 0.562 GB, free: 107.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/1.706, allocations: 51.85 MB / 0.6127 GB, free: 80.72 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.706, allocations: 226 kB / 0.6129 GB, free: 80.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.324/6.03, allocations: 0 / 0.6129 GB, free: 80.48 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_YD_res.mat does not exist to compare? outputFormat=mat