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_Transformer.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_Transformer,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.649/1.649, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 8 kB / 233.4 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08154/0.08191, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4154/0.4974, allocations: 102.2 MB / 374.3 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.4978, allocations: 89.08 kB / 374.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6032/1.101, allocations: 94.11 MB / 468.5 MB, free: 72.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.065e-06/1.101, allocations: 0 / 468.5 MB, free: 72.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003989/1.101, allocations: 99.88 kB / 468.6 MB, free: 72.4 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.01538/1.117, allocations: 3.945 MB / 472.6 MB, free: 70.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.117, allocations: 9.531 kB / 472.6 MB, free: 70.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002186/1.119, allocations: 0.5038 MB / 473.1 MB, free: 70.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/1.122, allocations: 0.5055 MB / 473.6 MB, free: 70.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007792/1.13, allocations: 2.514 MB / 476.1 MB, free: 69.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/1.13, allocations: 262.6 kB / 476.4 MB, free: 69.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/1.132, allocations: 356.2 kB / 476.7 MB, free: 69.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/1.145, allocations: 4.915 MB / 481.6 MB, free: 67.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001364/1.145, allocations: 9.906 kB / 481.6 MB, free: 67.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005722/1.146, allocations: 155.1 kB / 481.8 MB, free: 67.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002148/1.146, allocations: 175.3 kB / 482 MB, free: 67.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/1.158, allocations: 4.042 MB / 486 MB, free: 66.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03574/1.194, allocations: 14.9 MB / 0.4892 GB, free: 57.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006017/1.2, allocations: 4.208 MB / 0.4933 GB, free: 53.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000474/1.2, allocations: 148.4 kB / 0.4934 GB, free: 53.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/1.2, allocations: 56.56 kB / 0.4935 GB, free: 53.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 5.871e-06/1.2, allocations: 3.938 kB / 0.4935 GB, free: 53.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.03167/1.232, allocations: 10.16 MB / 0.5034 GB, free: 43.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.232, allocations: 85.33 kB / 0.5035 GB, free: 43.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004686/1.237, allocations: 2.182 MB / 0.5056 GB, free: 41.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000513/1.237, allocations: 65.7 kB / 0.5057 GB, free: 41.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/1.239, allocations: 1.592 MB / 0.5072 GB, free: 39.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008686/1.239, allocations: 0.7349 MB / 0.5079 GB, free: 38.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/1.24, allocations: 44 kB / 0.508 GB, free: 38.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/1.24, allocations: 402.5 kB / 0.5084 GB, free: 38.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003163/1.243, allocations: 1.304 MB / 0.5096 GB, free: 37.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003478/1.247, allocations: 1.741 MB / 0.5113 GB, free: 35.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/1.25, allocations: 1.552 MB / 0.5129 GB, free: 33.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/1.25, allocations: 4 kB / 0.5129 GB, free: 33.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01051/1.261, allocations: 4.052 MB / 0.5168 GB, free: 29.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/1.261, allocations: 15.95 kB / 0.5168 GB, free: 29.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/1.261, allocations: 12 kB / 0.5168 GB, free: 29.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002971/1.264, allocations: 0.7623 MB / 0.5176 GB, free: 28.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004191/1.268, allocations: 0.5304 MB / 0.5181 GB, free: 28.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/1.282, allocations: 8.935 MB / 0.5268 GB, free: 19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003386/1.285, allocations: 123.9 kB / 0.527 GB, free: 18.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005634/1.286, allocations: 88 kB / 0.527 GB, free: 18.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003391/1.289, allocations: 1.204 MB / 0.5282 GB, free: 17.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009344/1.29, allocations: 272.7 kB / 0.5285 GB, free: 17.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009939/1.3, allocations: 3.781 MB / 0.5322 GB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/1.3, allocations: 20 kB / 0.5322 GB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.3, allocations: 12 kB / 0.5322 GB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.241e-05/1.3, allocations: 11.95 kB / 0.5322 GB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02075/1.321, allocations: 8.053 MB / 0.5401 GB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.321, allocations: 0 / 0.5401 GB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/1.324, allocations: 403.4 kB / 0.5405 GB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003529/1.328, allocations: 0.8129 MB / 0.5412 GB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004088/1.328, allocations: 63.86 kB / 0.5413 GB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01736/1.346, allocations: 10.47 MB / 0.5515 GB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/1.346, allocations: 11.94 kB / 0.5515 GB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/1.362, allocations: 5.829 MB / 0.5572 GB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/1.364, allocations: 0.653 MB / 0.5579 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.366, allocations: 51.98 kB / 0.5579 GB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003276/1.369, allocations: 131.8 kB / 0.5581 GB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008814/1.37, allocations: 169.8 kB / 0.5582 GB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002719/1.37, allocations: 63.97 kB / 0.5583 GB, free: 1.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00463/1.375, allocations: 1.692 MB / 0.5599 GB, free: 300 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.393e-06/1.375, allocations: 3.938 kB / 0.5599 GB, free: 296 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.2541/1.629, allocations: 0.8287 MB / 0.5607 GB, free: 80.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01782/1.647, allocations: 7.346 MB / 0.5679 GB, free: 78.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01122/1.658, allocations: 3.928 MB / 0.5718 GB, free: 77.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.658, allocations: 4.875 kB / 0.5718 GB, free: 77.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006588/1.665, allocations: 2.52 MB / 0.5742 GB, free: 77.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/1.67, allocations: 0.7334 MB / 0.5749 GB, free: 77.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05947/1.73, allocations: 31.8 MB / 0.606 GB, free: 60.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003813/1.734, allocations: 2.841 MB / 0.6088 GB, free: 59.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003581/1.737, allocations: 0.6765 MB / 0.6094 GB, free: 59.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003092/1.74, allocations: 1.387 MB / 0.6108 GB, free: 58.33 MB / 362.7 MB Notification: Performance of SimCode: time 2.515e-06/1.74, allocations: 0 / 0.6108 GB, free: 58.33 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.163/1.903, allocations: 74.29 MB / 0.6833 GB, free: 5.566 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/1.904, allocations: 239.6 kB / 0.6836 GB, free: 5.324 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.174/7.078, allocations: 0 / 0.6836 GB, free: 5.324 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat