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.Transformers.AIMC_Transformer.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.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.026/2.026, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005248, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 44.5 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.5551, allocations: 107.5 MB / 416 MB, free: 10.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.5555, allocations: 86.45 kB / 416.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4035/0.959, allocations: 93.85 MB / 0.498 GB, free: 9.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.959, allocations: 0 / 0.498 GB, free: 9.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004775/0.9595, allocations: 103.9 kB / 0.4981 GB, free: 9.633 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01623/0.9758, allocations: 3.951 MB / 0.502 GB, free: 5.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.9758, allocations: 12.03 kB / 0.502 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002261/0.9781, allocations: 0.5058 MB / 0.5025 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.9808, allocations: 0.5025 MB / 0.503 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008778/0.9897, allocations: 2.56 MB / 0.5055 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.9901, allocations: 267 kB / 0.5057 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/0.9916, allocations: 351.9 kB / 0.5061 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/1.009, allocations: 4.937 MB / 0.5109 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/1.009, allocations: 11.84 kB / 0.5109 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007924/1.01, allocations: 148 kB / 0.511 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000287/1.01, allocations: 187 kB / 0.5112 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/1.024, allocations: 4.064 MB / 0.5152 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3161/1.34, allocations: 14.95 MB / 0.5298 GB, free: 69.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007755/1.348, allocations: 4.216 MB / 0.5339 GB, free: 68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/1.348, allocations: 147.2 kB / 0.534 GB, free: 67.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/1.349, allocations: 54.34 kB / 0.5341 GB, free: 67.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.779e-06/1.349, allocations: 1.25 kB / 0.5341 GB, free: 67.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.03788/1.386, allocations: 10.17 MB / 0.544 GB, free: 66.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/1.387, allocations: 75.72 kB / 0.5441 GB, free: 66.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006447/1.393, allocations: 2.213 MB / 0.5463 GB, free: 66.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000549/1.394, allocations: 60.67 kB / 0.5463 GB, free: 66.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/1.395, allocations: 1.48 MB / 0.5478 GB, free: 65.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/1.396, allocations: 0.7391 MB / 0.5485 GB, free: 65.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/1.397, allocations: 43.94 kB / 0.5485 GB, free: 65.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/1.397, allocations: 405.3 kB / 0.5489 GB, free: 65.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00344/1.4, allocations: 1.307 MB / 0.5502 GB, free: 65.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003904/1.404, allocations: 1.74 MB / 0.5519 GB, free: 64.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/1.408, allocations: 1.551 MB / 0.5534 GB, free: 64.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/1.408, allocations: 3.719 kB / 0.5534 GB, free: 64.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01097/1.419, allocations: 3.881 MB / 0.5572 GB, free: 64.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/1.419, allocations: 10.03 kB / 0.5572 GB, free: 64.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/1.419, allocations: 17.22 kB / 0.5572 GB, free: 64.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/1.423, allocations: 0.7581 MB / 0.558 GB, free: 64.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/1.427, allocations: 0.5265 MB / 0.5585 GB, free: 64.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.441, allocations: 8.935 MB / 0.5672 GB, free: 60.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.444, allocations: 120.8 kB / 0.5673 GB, free: 60.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005565/1.445, allocations: 90.52 kB / 0.5674 GB, free: 60.35 MB / 410.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.003434/1.448, allocations: 1.213 MB / 0.5686 GB, free: 60.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.449, allocations: 279.8 kB / 0.5688 GB, free: 60.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/1.46, allocations: 3.774 MB / 0.5725 GB, free: 59.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/1.46, allocations: 23.3 kB / 0.5726 GB, free: 59.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/1.46, allocations: 11.12 kB / 0.5726 GB, free: 59.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.409e-05/1.46, allocations: 18.61 kB / 0.5726 GB, free: 59.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/1.483, allocations: 8.081 MB / 0.5805 GB, free: 57.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/1.483, allocations: 3.406 kB / 0.5805 GB, free: 57.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/1.487, allocations: 395.6 kB / 0.5809 GB, free: 57.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003596/1.49, allocations: 0.8086 MB / 0.5816 GB, free: 57.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004644/1.491, allocations: 54.11 kB / 0.5817 GB, free: 57.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/1.506, allocations: 10.48 MB / 0.5919 GB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.506, allocations: 7.266 kB / 0.5919 GB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/1.52, allocations: 5.838 MB / 0.5976 GB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002445/1.523, allocations: 0.6421 MB / 0.5983 GB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/1.524, allocations: 50.02 kB / 0.5983 GB, free: 46.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003165/1.527, allocations: 131.9 kB / 0.5984 GB, free: 46.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008144/1.528, allocations: 181.9 kB / 0.5986 GB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.528, allocations: 64.92 kB / 0.5987 GB, free: 46.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004102/1.532, allocations: 1.704 MB / 0.6003 GB, free: 46.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.242e-06/1.532, allocations: 3.969 kB / 0.6003 GB, free: 46.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004557/1.537, allocations: 0.8331 MB / 0.6012 GB, free: 45.95 MB / 410.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.01533/1.552, allocations: 7.352 MB / 0.6083 GB, free: 42.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009617/1.562, allocations: 3.928 MB / 0.6122 GB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.562, allocations: 0 / 0.6122 GB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006366/1.568, allocations: 2.524 MB / 0.6146 GB, free: 39.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005947/1.574, allocations: 0.7342 MB / 0.6154 GB, free: 39.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06198/1.636, allocations: 31.91 MB / 0.6465 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004382/1.641, allocations: 2.788 MB / 0.6492 GB, free: 11.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003545/1.644, allocations: 1.411 MB / 0.6506 GB, free: 10.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/1.644, allocations: 0 / 0.6506 GB, free: 10.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.84/6.485, allocations: 155.3 MB / 0.8023 GB, free: 27.11 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat