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_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_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.736/1.736, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 8 kB / 233.3 MB, free: 2.922 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.09105, allocations: 38.76 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5475, allocations: 102.2 MB / 374.3 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.5479, allocations: 88.27 kB / 374.4 MB, free: 3.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6407/1.189, allocations: 94.12 MB / 468.5 MB, free: 72.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.567e-06/1.189, allocations: 0 / 468.5 MB, free: 72.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004279/1.189, allocations: 96.19 kB / 468.6 MB, free: 72.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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.0149/1.204, allocations: 3.947 MB / 472.6 MB, free: 70.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/1.204, allocations: 8.188 kB / 472.6 MB, free: 70.68 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002151/1.206, allocations: 0.4989 MB / 473.1 MB, free: 70.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/1.209, allocations: 0.5075 MB / 473.6 MB, free: 70.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007579/1.216, allocations: 2.519 MB / 476.1 MB, free: 69.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/1.217, allocations: 267.5 kB / 476.3 MB, free: 69.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/1.218, allocations: 352.5 kB / 476.7 MB, free: 69.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/1.232, allocations: 4.916 MB / 481.6 MB, free: 67.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/1.232, allocations: 7.594 kB / 481.6 MB, free: 67.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005763/1.232, allocations: 150.2 kB / 481.8 MB, free: 67.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002469/1.233, allocations: 169.9 kB / 481.9 MB, free: 67.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/1.245, allocations: 4.05 MB / 486 MB, free: 66.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03726/1.282, allocations: 14.89 MB / 0.4891 GB, free: 58.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006616/1.289, allocations: 4.227 MB / 0.4933 GB, free: 54.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005237/1.289, allocations: 150 kB / 0.4934 GB, free: 54.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/1.289, allocations: 64.27 kB / 0.4935 GB, free: 54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.769e-06/1.289, allocations: 0 / 0.4935 GB, free: 54 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.03314/1.323, allocations: 10.16 MB / 0.5034 GB, free: 44.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/1.323, allocations: 73.41 kB / 0.5035 GB, free: 44.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004613/1.327, allocations: 2.186 MB / 0.5056 GB, free: 42.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005299/1.328, allocations: 65.7 kB / 0.5057 GB, free: 42.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.329, allocations: 1.467 MB / 0.5071 GB, free: 40.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000904/1.33, allocations: 0.735 MB / 0.5078 GB, free: 39.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/1.33, allocations: 44 kB / 0.5078 GB, free: 39.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/1.33, allocations: 407.4 kB / 0.5082 GB, free: 39.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/1.333, allocations: 1.301 MB / 0.5095 GB, free: 38.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00334/1.337, allocations: 1.741 MB / 0.5112 GB, free: 36.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003566/1.34, allocations: 1.552 MB / 0.5127 GB, free: 34.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/1.34, allocations: 4 kB / 0.5127 GB, free: 34.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.009566/1.35, allocations: 3.882 MB / 0.5165 GB, free: 30.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/1.35, allocations: 12.88 kB / 0.5165 GB, free: 30.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/1.35, allocations: 12 kB / 0.5165 GB, free: 30.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/1.353, allocations: 0.7621 MB / 0.5173 GB, free: 29.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004043/1.357, allocations: 0.5265 MB / 0.5178 GB, free: 29.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/1.371, allocations: 8.947 MB / 0.5265 GB, free: 20.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003368/1.374, allocations: 115.9 kB / 0.5266 GB, free: 19.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000327/1.374, allocations: 91.98 kB / 0.5267 GB, free: 19.87 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.003031/1.377, allocations: 1.204 MB / 0.5279 GB, free: 18.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008777/1.378, allocations: 276.7 kB / 0.5282 GB, free: 18.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009523/1.388, allocations: 3.773 MB / 0.5319 GB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/1.388, allocations: 20 kB / 0.5319 GB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/1.388, allocations: 15.89 kB / 0.5319 GB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.59e-05/1.388, allocations: 7.969 kB / 0.5319 GB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/1.408, allocations: 8.064 MB / 0.5398 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/1.408, allocations: 4 kB / 0.5398 GB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003167/1.411, allocations: 391.8 kB / 0.5401 GB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003502/1.415, allocations: 0.8202 MB / 0.5409 GB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003492/1.415, allocations: 55.97 kB / 0.541 GB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/1.435, allocations: 10.47 MB / 0.5512 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/1.435, allocations: 12.05 kB / 0.5512 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0217/1.457, allocations: 5.821 MB / 0.5569 GB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003319/1.46, allocations: 0.646 MB / 0.5576 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.461, allocations: 55.98 kB / 0.5576 GB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003732/1.465, allocations: 127.9 kB / 0.5577 GB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009054/1.466, allocations: 189.4 kB / 0.5579 GB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003275/1.466, allocations: 59.98 kB / 0.558 GB, free: 3.066 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005945/1.472, allocations: 1.688 MB / 0.5596 GB, free: 1.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.472, allocations: 0 / 0.5596 GB, free: 1.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006322/1.479, allocations: 0.8398 MB / 0.5604 GB, free: 0.5273 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.2966/1.775, allocations: 7.338 MB / 0.5676 GB, free: 78.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01153/1.787, allocations: 3.925 MB / 0.5714 GB, free: 77.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.787, allocations: 1.125 kB / 0.5714 GB, free: 77.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007377/1.794, allocations: 2.526 MB / 0.5739 GB, free: 77.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006317/1.801, allocations: 0.7397 MB / 0.5746 GB, free: 77.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06572/1.866, allocations: 31.75 MB / 0.6056 GB, free: 60.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004759/1.871, allocations: 2.791 MB / 0.6084 GB, free: 59.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003794/1.875, allocations: 1.395 MB / 0.6097 GB, free: 58.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.934e-06/1.875, allocations: 0 / 0.6097 GB, free: 58.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.573/6.448, allocations: 154.3 MB / 0.7604 GB, free: 80.97 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat