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.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_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004021, allocations: 12 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2915, allocations: 44.5 MB / 308.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.4677, allocations: 102.1 MB / 410.7 MB, free: 6.457 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.4681, allocations: 87.95 kB / 410.8 MB, free: 6.371 MB / 346.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.4688/0.937, allocations: 43.91 MB / 454.7 MB, free: 71.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.937, allocations: 0 / 454.7 MB, free: 71.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001874/0.9372, allocations: 55.88 kB / 454.8 MB, free: 71.26 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.007889/0.9451, allocations: 2.344 MB / 457.1 MB, free: 68.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.9452, allocations: 15.97 kB / 457.1 MB, free: 68.83 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001027/0.9462, allocations: 282.4 kB / 457.4 MB, free: 68.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.9474, allocations: 273.1 kB / 457.7 MB, free: 68.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004513/0.9519, allocations: 1.416 MB / 459.1 MB, free: 66.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.9521, allocations: 147.7 kB / 459.2 MB, free: 66.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006483/0.9528, allocations: 195.9 kB / 459.4 MB, free: 66.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006221/0.959, allocations: 2.418 MB / 461.8 MB, free: 63.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.062e-05/0.9592, allocations: 7.906 kB / 461.8 MB, free: 63.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002788/0.9595, allocations: 80 kB / 461.9 MB, free: 63.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.9596, allocations: 83.67 kB / 462 MB, free: 63.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005309/0.9649, allocations: 1.896 MB / 463.9 MB, free: 61.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/0.982, allocations: 7.456 MB / 471.4 MB, free: 54.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.985, allocations: 1.399 MB / 472.8 MB, free: 52.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003824/0.9855, allocations: 134 kB / 472.9 MB, free: 52.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/0.9871, allocations: 0.7023 MB / 473.6 MB, free: 51.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 3.978e-06/0.9871, allocations: 0 / 473.6 MB, free: 51.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=130): time 0.02933/1.016, allocations: 8.365 MB / 482 MB, free: 43.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/1.017, allocations: 179.5 kB / 482.1 MB, free: 43.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/1.019, allocations: 1.216 MB / 483.3 MB, free: 41.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000278/1.019, allocations: 45.7 kB / 483.4 MB, free: 41.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008361/1.02, allocations: 0.9248 MB / 484.3 MB, free: 40.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004617/1.021, allocations: 461.4 kB / 484.8 MB, free: 40.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.021, allocations: 24 kB / 484.8 MB, free: 40.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/1.021, allocations: 365.9 kB / 485.1 MB, free: 40.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/1.023, allocations: 0.7183 MB / 485.9 MB, free: 39.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/1.024, allocations: 1.067 MB / 486.9 MB, free: 38.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/1.026, allocations: 0.9021 MB / 487.8 MB, free: 37.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/1.026, allocations: 0 / 487.8 MB, free: 37.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006648/1.033, allocations: 2.601 MB / 490.4 MB, free: 34.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/1.033, allocations: 41.69 kB / 490.5 MB, free: 34.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/1.033, allocations: 8 kB / 490.5 MB, free: 34.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/1.036, allocations: 0.6533 MB / 491.1 MB, free: 33.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/1.038, allocations: 315.5 kB / 491.4 MB, free: 33.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/1.049, allocations: 6.686 MB / 498.1 MB, free: 26.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.051, allocations: 104 kB / 498.2 MB, free: 26.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/1.052, allocations: 59.98 kB / 498.3 MB, free: 26.51 MB / 346.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.001674/1.053, allocations: 0.634 MB / 498.9 MB, free: 25.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/1.054, allocations: 162 kB / 499.1 MB, free: 25.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00662/1.061, allocations: 2.398 MB / 0.4897 GB, free: 23.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.061, allocations: 12 kB / 0.4897 GB, free: 23.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.061, allocations: 16.38 kB / 0.4898 GB, free: 23.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/1.061, allocations: 11.97 kB / 0.4898 GB, free: 23.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/1.073, allocations: 4.793 MB / 0.4944 GB, free: 18.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.073, allocations: 0 / 0.4944 GB, free: 18.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/1.075, allocations: 184 kB / 0.4946 GB, free: 18.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003213/1.078, allocations: 0.7497 MB / 0.4954 GB, free: 17.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/1.078, allocations: 31.98 kB / 0.4954 GB, free: 17.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/1.092, allocations: 8.417 MB / 0.5036 GB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.092, allocations: 4 kB / 0.5036 GB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008323/1.1, allocations: 3.465 MB / 0.507 GB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.101, allocations: 391 kB / 0.5074 GB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003942/1.102, allocations: 31.98 kB / 0.5074 GB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/1.103, allocations: 79.92 kB / 0.5075 GB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003729/1.104, allocations: 109.1 kB / 0.5076 GB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/1.104, allocations: 39.94 kB / 0.5076 GB, free: 4.324 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002842/1.107, allocations: 0.9359 MB / 0.5085 GB, free: 3.387 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.133e-06/1.107, allocations: 4 kB / 0.5085 GB, free: 3.383 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003543/1.11, allocations: 0.5273 MB / 0.509 GB, free: 2.855 MB / 346.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.01464/1.125, allocations: 4.915 MB / 0.5138 GB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009797/1.135, allocations: 2.503 MB / 0.5163 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.135, allocations: 0 / 0.5163 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006405/1.141, allocations: 1.639 MB / 0.5179 GB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/1.146, allocations: 376.5 kB / 0.5182 GB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02405/1.17, allocations: 12.59 MB / 0.5305 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003475/1.173, allocations: 1.756 MB / 0.5323 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002674/1.176, allocations: 321 kB / 0.5326 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00273/1.179, allocations: 0.7609 MB / 0.5333 GB, free: 9.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/1.179, allocations: 0 / 0.5333 GB, free: 9.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3939/1.573, allocations: 42.97 MB / 0.5753 GB, free: 110.8 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/1.573, allocations: 280 kB / 0.5755 GB, free: 110.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.105/5.678, allocations: 0 / 0.5755 GB, free: 110.4 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat does not exist to compare? outputFormat=mat