Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.614/1.614, allocations: 171.2 MB / 186.1 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 8 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07984/0.08022, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.4584, allocations: 94.34 MB / 366.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.4587, allocations: 90.58 kB / 366.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1716/0.6304, allocations: 40.47 MB / 407 MB, free: 8.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.6304, allocations: 0 / 407 MB, free: 8.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001921/0.6306, allocations: 47.94 kB / 407.1 MB, free: 8.121 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.007718/0.6384, allocations: 2.174 MB / 409.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6384, allocations: 8.031 kB / 409.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00108/0.6395, allocations: 286.2 kB / 409.5 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.6407, allocations: 273.1 kB / 409.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00464/0.6453, allocations: 1.333 MB / 411.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.6456, allocations: 143.7 kB / 411.3 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009215/0.6466, allocations: 184 kB / 411.5 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00709/0.6537, allocations: 2.4 MB / 413.9 MB, free: 1.125 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.049e-05/0.6538, allocations: 11.91 kB / 413.9 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.6542, allocations: 80 kB / 414 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.6543, allocations: 79.66 kB / 414 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006252/0.6606, allocations: 1.896 MB / 415.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02065/0.6813, allocations: 7.792 MB / 423.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/0.6848, allocations: 1.395 MB / 425.1 MB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000445/0.6852, allocations: 138 kB / 425.2 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.6853, allocations: 55.5 kB / 425.3 MB, free: 5.395 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 3.757e-06/0.6853, allocations: 0 / 425.3 MB, free: 5.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.2499/0.9352, allocations: 6.294 MB / 431.6 MB, free: 85.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.9353, allocations: 66.09 kB / 431.7 MB, free: 85.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002585/0.9379, allocations: 1.07 MB / 432.7 MB, free: 84.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003407/0.9383, allocations: 45.86 kB / 432.8 MB, free: 84.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007882/0.9391, allocations: 0.8633 MB / 433.6 MB, free: 84.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006366/0.9397, allocations: 443.9 kB / 434.1 MB, free: 84.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.9399, allocations: 29.69 kB / 434.1 MB, free: 84.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.94, allocations: 362 kB / 434.5 MB, free: 84.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.942, allocations: 0.6745 MB / 435.1 MB, free: 84.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/0.9443, allocations: 0.9905 MB / 436.1 MB, free: 83.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002287/0.9466, allocations: 0.8284 MB / 436.9 MB, free: 83.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/0.9466, allocations: 3.297 kB / 436.9 MB, free: 83.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007156/0.9538, allocations: 2.384 MB / 439.3 MB, free: 83.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.9539, allocations: 14.3 kB / 439.3 MB, free: 83.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.9539, allocations: 9.844 kB / 439.4 MB, free: 83.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.9563, allocations: 0.567 MB / 439.9 MB, free: 83.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/0.9589, allocations: 302.3 kB / 440.2 MB, free: 83.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.971, allocations: 8.608 MB / 448.8 MB, free: 78.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.9729, allocations: 85.67 kB / 448.9 MB, free: 78.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.9731, allocations: 52.31 kB / 449 MB, free: 78.46 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.00153/0.9746, allocations: 0.6001 MB / 449.6 MB, free: 78.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004756/0.9751, allocations: 147.9 kB / 449.7 MB, free: 78.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005701/0.9808, allocations: 2.206 MB / 451.9 MB, free: 78.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.9809, allocations: 12.25 kB / 451.9 MB, free: 78.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.9809, allocations: 11.06 kB / 451.9 MB, free: 78.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.981, allocations: 7.5 kB / 451.9 MB, free: 78.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.9917, allocations: 4.36 MB / 456.3 MB, free: 77.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.9918, allocations: 4.625 kB / 456.3 MB, free: 77.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/0.9935, allocations: 206 kB / 456.5 MB, free: 77.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002949/0.9965, allocations: 0.6199 MB / 457.1 MB, free: 77.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.9967, allocations: 38.66 kB / 457.2 MB, free: 77.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/1.01, allocations: 10.15 MB / 467.3 MB, free: 68.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.01, allocations: 5.109 kB / 467.3 MB, free: 68.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008033/1.018, allocations: 3.291 MB / 470.6 MB, free: 67.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.019, allocations: 369.3 kB / 471 MB, free: 67.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003104/1.019, allocations: 35.11 kB / 471 MB, free: 67.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.021, allocations: 77.22 kB / 471.1 MB, free: 67.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/1.021, allocations: 106.4 kB / 471.2 MB, free: 67.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.021, allocations: 39.27 kB / 471.2 MB, free: 67.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001568/1.023, allocations: 0.8233 MB / 472.1 MB, free: 66.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.023, allocations: 0 / 472.1 MB, free: 66.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002207/1.025, allocations: 495.7 kB / 472.5 MB, free: 66.73 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.008143/1.033, allocations: 4.653 MB / 477.2 MB, free: 64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00533/1.038, allocations: 2.517 MB / 479.7 MB, free: 62.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.038, allocations: 0 / 479.7 MB, free: 62.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003623/1.042, allocations: 1.751 MB / 481.5 MB, free: 61.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/1.045, allocations: 387.3 kB / 481.8 MB, free: 61.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/1.074, allocations: 18.33 MB / 0.4884 GB, free: 48.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/1.075, allocations: 1.693 MB / 0.4901 GB, free: 48.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001668/1.077, allocations: 312 kB / 0.4904 GB, free: 48.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.078, allocations: 0.7048 MB / 0.4911 GB, free: 47.39 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/1.078, allocations: 0 / 0.4911 GB, free: 47.39 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.179, allocations: 40.78 MB / 0.5309 GB, free: 12.71 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/1.179, allocations: 237.2 kB / 0.5311 GB, free: 12.47 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.842/5.021, allocations: 0 / 0.5311 GB, free: 12.47 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat