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_Conveyor.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_Conveyor,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.09984, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5516, allocations: 102.1 MB / 410.7 MB, free: 12.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.5519, allocations: 97.34 kB / 410.8 MB, free: 12.14 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.1787/0.7307, allocations: 43.89 MB / 454.7 MB, free: 128 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.7308, allocations: 0 / 454.7 MB, free: 128 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002737/0.7311, allocations: 55.88 kB / 454.7 MB, free: 72 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.009201/0.7403, allocations: 2.352 MB / 457.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.856e-05/0.7404, allocations: 8.031 kB / 457.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001098/0.7415, allocations: 285.5 kB / 457.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.7429, allocations: 277.1 kB / 457.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004955/0.7479, allocations: 1.422 MB / 459.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.7481, allocations: 138.8 kB / 459.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000773/0.7489, allocations: 200 kB / 459.4 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007251/0.7562, allocations: 2.401 MB / 461.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.803e-05/0.7563, allocations: 3.906 kB / 461.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003376/0.7567, allocations: 83.94 kB / 461.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.7568, allocations: 91.66 kB / 462 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006436/0.7633, allocations: 1.892 MB / 463.9 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02093/0.7842, allocations: 7.464 MB / 471.3 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.7879, allocations: 1.399 MB / 472.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004402/0.7884, allocations: 138 kB / 472.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/0.7903, allocations: 0.6984 MB / 473.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 4.258e-06/0.7903, allocations: 0 / 473.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.03271/0.823, allocations: 8.373 MB / 481.9 MB, free: 5.609 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.8232, allocations: 175.5 kB / 482.1 MB, free: 5.402 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/0.8262, allocations: 1.219 MB / 483.3 MB, free: 4.168 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003414/0.8266, allocations: 49.7 kB / 483.4 MB, free: 4.113 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.8277, allocations: 0.8793 MB / 484.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008113/0.8286, allocations: 457.5 kB / 484.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.8287, allocations: 28 kB / 484.7 MB, free: 2.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.829, allocations: 374.8 kB / 485.1 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.831, allocations: 0.7105 MB / 485.8 MB, free: 1.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.8334, allocations: 1.067 MB / 486.9 MB, free: 460 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.8359, allocations: 0.9021 MB / 487.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.836, allocations: 4 kB / 487.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007469/0.8435, allocations: 2.508 MB / 490.3 MB, free: 13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/0.8436, allocations: 42.28 kB / 490.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.8437, allocations: 8.25 kB / 490.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/0.8466, allocations: 0.6609 MB / 491 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/0.8489, allocations: 303.6 kB / 491.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.8623, allocations: 6.686 MB / 498 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.8646, allocations: 99.97 kB / 498.1 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.8649, allocations: 60.03 kB / 498.1 MB, free: 4.867 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001918/0.8668, allocations: 0.6475 MB / 498.8 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005326/0.8673, allocations: 162 kB / 498.9 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007217/0.8746, allocations: 2.402 MB / 0.4896 GB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.8746, allocations: 12 kB / 0.4896 GB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.8747, allocations: 11.95 kB / 0.4896 GB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.8747, allocations: 7.969 kB / 0.4896 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.8882, allocations: 4.782 MB / 0.4943 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.8883, allocations: 4.031 kB / 0.4943 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.8898, allocations: 183.8 kB / 0.4945 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003462/0.8933, allocations: 0.7501 MB / 0.4952 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.8935, allocations: 39.97 kB / 0.4952 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01606/0.9096, allocations: 8.409 MB / 0.5034 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.9097, allocations: 4 kB / 0.5034 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009616/0.9193, allocations: 3.468 MB / 0.5068 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/0.9206, allocations: 402.9 kB / 0.5072 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/0.921, allocations: 28 kB / 0.5072 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.9226, allocations: 79.91 kB / 0.5073 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.923, allocations: 109.1 kB / 0.5074 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.9231, allocations: 39.98 kB / 0.5075 GB, free: 14.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002194/0.9253, allocations: 0.9398 MB / 0.5084 GB, free: 13.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.9254, allocations: 0 / 0.5084 GB, free: 13.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002607/0.928, allocations: 0.5273 MB / 0.5089 GB, free: 13.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(7,59.2%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01159/0.9396, allocations: 4.904 MB / 0.5137 GB, free: 8.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007121/0.9468, allocations: 2.5 MB / 0.5161 GB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.9468, allocations: 3.938 kB / 0.5161 GB, free: 5.703 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004993/0.9518, allocations: 1.653 MB / 0.5177 GB, free: 3.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/0.9552, allocations: 372.6 kB / 0.5181 GB, free: 3.621 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2843/1.24, allocations: 12.61 MB / 0.5304 GB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/1.242, allocations: 1.741 MB / 0.5321 GB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/1.244, allocations: 0.7684 MB / 0.5329 GB, free: 104.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/1.244, allocations: 0 / 0.5329 GB, free: 104.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.815/5.059, allocations: 71.77 MB / 0.603 GB, free: 70.89 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat does not exist to compare? outputFormat=mat