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.AIMS_Start.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.AIMS_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.647/1.647, allocations: 171.2 MB / 186.1 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004954, allocations: 8 kB / 233.4 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.08398, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3836/0.4676, allocations: 100.7 MB / 372.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.468, allocations: 89.33 kB / 373 MB, free: 4.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4877/0.9557, allocations: 65.39 MB / 438.3 MB, free: 74.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.9558, allocations: 7 kB / 438.4 MB, free: 74.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000351/0.9561, allocations: 88.59 kB / 438.4 MB, free: 74.09 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: 795 * Number of variables: 795 Notification: Performance of Generate backend data structure: time 0.01365/0.9698, allocations: 3.63 MB / 442.1 MB, free: 72.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.9698, allocations: 13.38 kB / 442.1 MB, free: 72.72 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001678/0.9715, allocations: 445.5 kB / 442.5 MB, free: 72.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.9734, allocations: 450 kB / 443 MB, free: 72.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007354/0.9807, allocations: 2.349 MB / 445.3 MB, free: 71.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.981, allocations: 232.6 kB / 445.5 MB, free: 71.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.9821, allocations: 307.4 kB / 445.8 MB, free: 71.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/0.9945, allocations: 4.321 MB / 450.2 MB, free: 71.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.9947, allocations: 7.875 kB / 450.2 MB, free: 71.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004961/0.9952, allocations: 132 kB / 450.3 MB, free: 71.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.9953, allocations: 134 kB / 450.4 MB, free: 71.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/1.005, allocations: 3.6 MB / 454 MB, free: 71.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02977/1.035, allocations: 13.56 MB / 467.6 MB, free: 67.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005004/1.04, allocations: 2.951 MB / 470.5 MB, free: 65.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/1.041, allocations: 152.1 kB / 470.7 MB, free: 65.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/1.041, allocations: 52.44 kB / 470.7 MB, free: 65.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=167): time 4.529e-06/1.041, allocations: 0 / 470.7 MB, free: 65.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=183): time 0.02973/1.071, allocations: 9.414 MB / 480.2 MB, free: 61.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/1.071, allocations: 74.02 kB / 480.2 MB, free: 61.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004149/1.075, allocations: 2.047 MB / 482.3 MB, free: 60.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003355/1.075, allocations: 56.36 kB / 482.3 MB, free: 60.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/1.076, allocations: 1.459 MB / 483.8 MB, free: 59.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006339/1.077, allocations: 0.6018 MB / 484.4 MB, free: 58.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/1.077, allocations: 39.5 kB / 484.4 MB, free: 58.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/1.077, allocations: 384.6 kB / 484.8 MB, free: 58.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/1.08, allocations: 1.158 MB / 486 MB, free: 58.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/1.083, allocations: 1.559 MB / 487.5 MB, free: 57.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/1.086, allocations: 1.356 MB / 488.9 MB, free: 56.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/1.086, allocations: 3.969 kB / 488.9 MB, free: 56.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.008855/1.095, allocations: 3.625 MB / 492.5 MB, free: 55.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.095, allocations: 11.78 kB / 492.5 MB, free: 55.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/1.095, allocations: 7.656 kB / 492.5 MB, free: 55.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/1.098, allocations: 0.8092 MB / 493.3 MB, free: 55.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/1.101, allocations: 464.4 kB / 493.8 MB, free: 55.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/1.114, allocations: 10.51 MB / 0.4925 GB, free: 46.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/1.118, allocations: 129.3 kB / 0.4926 GB, free: 46.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003649/1.118, allocations: 73.59 kB / 0.4927 GB, free: 46.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002615/1.121, allocations: 1.093 MB / 0.4937 GB, free: 45.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007886/1.121, allocations: 249 kB / 0.494 GB, free: 45.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008508/1.13, allocations: 3.399 MB / 0.4973 GB, free: 42.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/1.13, allocations: 27.56 kB / 0.4973 GB, free: 42.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.13, allocations: 4 kB / 0.4973 GB, free: 42.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-05/1.13, allocations: 10.31 kB / 0.4973 GB, free: 42.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/1.147, allocations: 6.923 MB / 0.5041 GB, free: 36.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.147, allocations: 0 / 0.5041 GB, free: 36.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002462/1.15, allocations: 311.1 kB / 0.5044 GB, free: 36.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003795/1.154, allocations: 0.9308 MB / 0.5053 GB, free: 36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/1.154, allocations: 43.84 kB / 0.5053 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/1.17, allocations: 13.78 MB / 0.5188 GB, free: 22.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.17, allocations: 4.031 kB / 0.5188 GB, free: 22.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/1.182, allocations: 5.148 MB / 0.5238 GB, free: 17.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/1.184, allocations: 0.5829 MB / 0.5244 GB, free: 17.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005993/1.184, allocations: 40 kB / 0.5244 GB, free: 17.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/1.187, allocations: 131.2 kB / 0.5246 GB, free: 17.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/1.187, allocations: 168.4 kB / 0.5247 GB, free: 16.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.187, allocations: 51.8 kB / 0.5248 GB, free: 16.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003136/1.19, allocations: 1.577 MB / 0.5263 GB, free: 15.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.19, allocations: 0 / 0.5263 GB, free: 15.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003138/1.194, allocations: 0.7382 MB / 0.527 GB, free: 14.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01264/1.206, allocations: 6.417 MB / 0.5333 GB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007902/1.214, allocations: 3.667 MB / 0.5369 GB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.214, allocations: 0 / 0.5369 GB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005189/1.219, allocations: 2.563 MB / 0.5394 GB, free: 3.043 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/1.224, allocations: 0.6839 MB / 0.54 GB, free: 2.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2884/1.513, allocations: 28.84 MB / 0.5682 GB, free: 77.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002992/1.516, allocations: 2.576 MB / 0.5707 GB, free: 76.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002972/1.519, allocations: 0.5762 MB / 0.5713 GB, free: 76.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002274/1.521, allocations: 1.239 MB / 0.5725 GB, free: 76.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.984e-06/1.521, allocations: 0 / 0.5725 GB, free: 76.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1505/1.671, allocations: 67.25 MB / 0.6382 GB, free: 45.92 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/1.672, allocations: 232.9 kB / 0.6384 GB, free: 45.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.84/6.512, allocations: 0 / 0.6384 GB, free: 45.68 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat