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.AsynchronousInductionMachines.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.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.922/1.922, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005679/0.000568, allocations: 11.98 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1073, allocations: 44.5 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5037/0.611, allocations: 107.4 MB / 415.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.6114, allocations: 92.42 kB / 416 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4458/1.057, allocations: 93.69 MB / 0.4978 GB, free: 9.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.346e-06/1.057, allocations: 0 / 0.4978 GB, free: 9.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003989/1.058, allocations: 99.86 kB / 0.4979 GB, free: 9.863 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.01598/1.074, allocations: 3.958 MB / 0.5017 GB, free: 5.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.269e-05/1.074, allocations: 12.03 kB / 0.5017 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002894/1.077, allocations: 0.5018 MB / 0.5022 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/1.08, allocations: 0.5025 MB / 0.5027 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008898/1.089, allocations: 2.564 MB / 0.5052 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000445/1.089, allocations: 267 kB / 0.5055 GB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/1.091, allocations: 347.9 kB / 0.5058 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01884/1.11, allocations: 4.944 MB / 0.5106 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/1.11, allocations: 15.89 kB / 0.5107 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001154/1.112, allocations: 144 kB / 0.5108 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003133/1.112, allocations: 179 kB / 0.511 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/1.128, allocations: 4.057 MB / 0.5149 GB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4095/1.537, allocations: 14.96 MB / 0.5295 GB, free: 69.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/1.548, allocations: 4.206 MB / 0.5336 GB, free: 67.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007776/1.549, allocations: 145.6 kB / 0.5338 GB, free: 67.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.742e-05/1.549, allocations: 64.88 kB / 0.5338 GB, free: 67.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 7.904e-06/1.549, allocations: 0 / 0.5338 GB, free: 67.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.052/1.601, allocations: 10.18 MB / 0.5438 GB, free: 66.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/1.601, allocations: 76.81 kB / 0.5439 GB, free: 66.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005968/1.607, allocations: 2.215 MB / 0.546 GB, free: 66.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005854/1.608, allocations: 60.42 kB / 0.5461 GB, free: 66.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/1.609, allocations: 1.475 MB / 0.5475 GB, free: 65.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001217/1.611, allocations: 0.7442 MB / 0.5482 GB, free: 65.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/1.611, allocations: 42.09 kB / 0.5483 GB, free: 65.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/1.611, allocations: 403.1 kB / 0.5487 GB, free: 64.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003305/1.615, allocations: 1.31 MB / 0.55 GB, free: 64.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003807/1.618, allocations: 1.739 MB / 0.5517 GB, free: 64.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003909/1.622, allocations: 1.55 MB / 0.5532 GB, free: 64.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.987e-05/1.622, allocations: 3.062 kB / 0.5532 GB, free: 64.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01068/1.633, allocations: 3.88 MB / 0.557 GB, free: 64.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/1.633, allocations: 11.66 kB / 0.557 GB, free: 64.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/1.633, allocations: 11.38 kB / 0.557 GB, free: 64.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003104/1.636, allocations: 0.7549 MB / 0.5577 GB, free: 64.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/1.641, allocations: 0.5259 MB / 0.5582 GB, free: 64.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.655, allocations: 8.943 MB / 0.567 GB, free: 60.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/1.659, allocations: 122.9 kB / 0.5671 GB, free: 60.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005894/1.659, allocations: 88.28 kB / 0.5672 GB, free: 60.11 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.003583/1.663, allocations: 1.21 MB / 0.5683 GB, free: 60 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.664, allocations: 285.7 kB / 0.5686 GB, free: 59.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.674, allocations: 3.771 MB / 0.5723 GB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/1.674, allocations: 21.66 kB / 0.5723 GB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/1.674, allocations: 10.38 kB / 0.5723 GB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.245e-05/1.674, allocations: 11.59 kB / 0.5723 GB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02319/1.698, allocations: 8.091 MB / 0.5802 GB, free: 57.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/1.698, allocations: 3.531 kB / 0.5802 GB, free: 57.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00344/1.701, allocations: 393.3 kB / 0.5806 GB, free: 57.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003708/1.705, allocations: 0.8109 MB / 0.5814 GB, free: 57.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005877/1.706, allocations: 52.86 kB / 0.5815 GB, free: 57.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/1.721, allocations: 10.48 MB / 0.5917 GB, free: 49.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.721, allocations: 6.984 kB / 0.5917 GB, free: 49.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/1.736, allocations: 5.825 MB / 0.5974 GB, free: 47.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/1.738, allocations: 0.648 MB / 0.598 GB, free: 46.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.74, allocations: 54.23 kB / 0.5981 GB, free: 46.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003277/1.743, allocations: 125.2 kB / 0.5982 GB, free: 46.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009062/1.744, allocations: 188.4 kB / 0.5984 GB, free: 46.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/1.744, allocations: 58.52 kB / 0.5984 GB, free: 46.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004335/1.748, allocations: 1.705 MB / 0.6001 GB, free: 45.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.749, allocations: 0 / 0.6001 GB, free: 45.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004744/1.753, allocations: 0.8333 MB / 0.6009 GB, free: 45.88 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.01535/1.769, allocations: 7.358 MB / 0.6081 GB, free: 42.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009534/1.778, allocations: 3.927 MB / 0.6119 GB, free: 40.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.778, allocations: 0 / 0.6119 GB, free: 40.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006582/1.785, allocations: 2.524 MB / 0.6144 GB, free: 39.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005814/1.791, allocations: 0.7399 MB / 0.6151 GB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06295/1.854, allocations: 31.91 MB / 0.6463 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004037/1.858, allocations: 2.8 MB / 0.649 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003512/1.861, allocations: 1.407 MB / 0.6504 GB, free: 10.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/1.861, allocations: 0 / 0.6504 GB, free: 10.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.547/6.408, allocations: 155.2 MB / 0.802 GB, free: 27.07 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat