Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.968/1.968, allocations: 194.9 MB / 211.1 MB, free: 8.758 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 12 kB / 264.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2892, allocations: 44.5 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.4696, allocations: 105.9 MB / 414.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/0.47, allocations: 91.89 kB / 414.5 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5383/1.008, allocations: 65.25 MB / 479.8 MB, free: 46.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.895e-06/1.008, allocations: 0 / 479.8 MB, free: 46.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003852/1.009, allocations: 83.94 kB / 479.9 MB, free: 46.51 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01648/1.025, allocations: 3.648 MB / 483.5 MB, free: 42.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/1.025, allocations: 12.03 kB / 483.5 MB, free: 42.79 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002262/1.028, allocations: 458.3 kB / 484 MB, free: 42.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/1.031, allocations: 447.1 kB / 484.4 MB, free: 41.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/1.041, allocations: 2.387 MB / 486.8 MB, free: 39.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/1.041, allocations: 230.2 kB / 487 MB, free: 39.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/1.043, allocations: 303.9 kB / 487.3 MB, free: 38.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/1.059, allocations: 4.326 MB / 491.6 MB, free: 34.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/1.059, allocations: 19.78 kB / 491.7 MB, free: 34.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007744/1.06, allocations: 140 kB / 491.8 MB, free: 34.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/1.06, allocations: 122 kB / 491.9 MB, free: 34.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/1.075, allocations: 3.619 MB / 495.5 MB, free: 30.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03766/1.113, allocations: 13.6 MB / 0.4972 GB, free: 16.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005377/1.118, allocations: 2.957 MB / 0.5001 GB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004831/1.119, allocations: 139 kB / 0.5002 GB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/1.119, allocations: 52.56 kB / 0.5003 GB, free: 13.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=167): time 4.869e-06/1.119, allocations: 0 / 0.5003 GB, free: 13.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=183): time 0.04467/1.163, allocations: 9.421 MB / 0.5095 GB, free: 3.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.164, allocations: 73.34 kB / 0.5095 GB, free: 3.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01234/1.176, allocations: 2.065 MB / 0.5116 GB, free: 1.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006817/1.177, allocations: 57.7 kB / 0.5116 GB, free: 1.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002658/1.179, allocations: 1.462 MB / 0.513 GB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002043/1.181, allocations: 0.6122 MB / 0.5136 GB, free: 15.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005453/1.182, allocations: 36 kB / 0.5137 GB, free: 15.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005149/1.183, allocations: 389.9 kB / 0.514 GB, free: 14.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0075/1.19, allocations: 1.159 MB / 0.5152 GB, free: 13.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008952/1.199, allocations: 1.549 MB / 0.5167 GB, free: 11.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007543/1.207, allocations: 1.364 MB / 0.518 GB, free: 10.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/1.207, allocations: 11.89 kB / 0.518 GB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01092/1.218, allocations: 3.624 MB / 0.5216 GB, free: 6.961 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/1.218, allocations: 8 kB / 0.5216 GB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/1.218, allocations: 12 kB / 0.5216 GB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003459/1.221, allocations: 0.8043 MB / 0.5224 GB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003769/1.225, allocations: 459.3 kB / 0.5228 GB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/1.242, allocations: 10.5 MB / 0.5331 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/1.245, allocations: 127.8 kB / 0.5332 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/1.246, allocations: 75.98 kB / 0.5333 GB, free: 10.3 MB / 378.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.00315/1.249, allocations: 1.091 MB / 0.5343 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000935/1.25, allocations: 245 kB / 0.5346 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/1.26, allocations: 3.403 MB / 0.5379 GB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/1.26, allocations: 20 kB / 0.5379 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/1.26, allocations: 4 kB / 0.5379 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.622e-05/1.26, allocations: 7.969 kB / 0.5379 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02166/1.282, allocations: 6.939 MB / 0.5447 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.282, allocations: 3.984 kB / 0.5447 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002775/1.285, allocations: 315.8 kB / 0.545 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004386/1.289, allocations: 0.9159 MB / 0.5459 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004364/1.29, allocations: 47.95 kB / 0.5459 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2955/1.585, allocations: 13.77 MB / 0.5594 GB, free: 90.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.585, allocations: 5.469 kB / 0.5594 GB, free: 90.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/1.598, allocations: 5.15 MB / 0.5644 GB, free: 90.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/1.601, allocations: 0.579 MB / 0.565 GB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008912/1.602, allocations: 37.05 kB / 0.565 GB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003087/1.605, allocations: 135.2 kB / 0.5651 GB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008775/1.606, allocations: 164.7 kB / 0.5653 GB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/1.606, allocations: 52.92 kB / 0.5654 GB, free: 90.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003587/1.609, allocations: 1.595 MB / 0.5669 GB, free: 89.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.609, allocations: 3.156 kB / 0.5669 GB, free: 89.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003701/1.613, allocations: 0.736 MB / 0.5676 GB, free: 89.91 MB / 394.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.01349/1.627, allocations: 6.419 MB / 0.5739 GB, free: 88.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008288/1.635, allocations: 3.664 MB / 0.5775 GB, free: 87.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.635, allocations: 0 / 0.5775 GB, free: 87.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005985/1.641, allocations: 2.57 MB / 0.58 GB, free: 86.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00549/1.647, allocations: 0.6595 MB / 0.5806 GB, free: 86.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05521/1.702, allocations: 29.01 MB / 0.609 GB, free: 70.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003633/1.706, allocations: 2.58 MB / 0.6115 GB, free: 68.94 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003394/1.709, allocations: 0.5854 MB / 0.6121 GB, free: 68.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003051/1.712, allocations: 1.245 MB / 0.6133 GB, free: 67.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.432e-06/1.712, allocations: 0 / 0.6133 GB, free: 67.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1581/1.87, allocations: 67.75 MB / 0.6794 GB, free: 12.52 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/1.871, allocations: 233.3 kB / 0.6797 GB, free: 12.28 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.828/6.698, allocations: 6.453 kB / 0.6797 GB, free: 12.27 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat