Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003594, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.08001, allocations: 44.52 MB / 308.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3687/0.4487, allocations: 107.3 MB / 415.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.449, allocations: 95.3 kB / 415.8 MB, free: 12.25 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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.2923/0.7413, allocations: 83.08 MB / 498.9 MB, free: 6.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.709e-06/0.7414, allocations: 0 / 498.9 MB, free: 6.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002972/0.7417, allocations: 75.94 kB / 499 MB, free: 6.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01315/0.7548, allocations: 3.679 MB / 0.4909 GB, free: 2.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.7549, allocations: 8.031 kB / 0.4909 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005565/0.7605, allocations: 0.7489 MB / 0.4916 GB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/0.7724, allocations: 3.375 MB / 0.4949 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003878/0.7728, allocations: 238.4 kB / 0.4951 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/0.7741, allocations: 327.9 kB / 0.4954 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.7876, allocations: 4.205 MB / 0.4996 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.7878, allocations: 0 / 0.4996 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007332/0.7885, allocations: 136 kB / 0.4997 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000204/0.7887, allocations: 150.4 kB / 0.4998 GB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.7993, allocations: 3.414 MB / 0.5032 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03311/0.8325, allocations: 13.51 MB / 0.5164 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009842/0.8424, allocations: 6.942 MB / 0.5231 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2367/1.079, allocations: 3.355 MB / 0.5264 GB, free: 84.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001858/1.081, allocations: 0.9137 MB / 0.5273 GB, free: 84.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=143): time 5.594e-06/1.081, allocations: 0 / 0.5273 GB, free: 84.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=152): time 0.01934/1.1, allocations: 6.944 MB / 0.5341 GB, free: 82.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/1.101, allocations: 227.4 kB / 0.5343 GB, free: 82.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/1.104, allocations: 1.643 MB / 0.5359 GB, free: 82.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003041/1.104, allocations: 60.17 kB / 0.536 GB, free: 82.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/1.106, allocations: 1.385 MB / 0.5373 GB, free: 81.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006013/1.106, allocations: 0.513 MB / 0.5378 GB, free: 81.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/1.107, allocations: 36.78 kB / 0.5378 GB, free: 81.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/1.107, allocations: 381.4 kB / 0.5382 GB, free: 81.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/1.109, allocations: 0.7168 MB / 0.5389 GB, free: 81.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/1.111, allocations: 1.246 MB / 0.5401 GB, free: 80.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/1.113, allocations: 0.9693 MB / 0.5411 GB, free: 80.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/1.113, allocations: 4.812 kB / 0.5411 GB, free: 80.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.0056/1.119, allocations: 2.452 MB / 0.5435 GB, free: 80.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.12e-05/1.119, allocations: 43.34 kB / 0.5435 GB, free: 80.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/1.119, allocations: 16.83 kB / 0.5435 GB, free: 80.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/1.12, allocations: 291 kB / 0.5438 GB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/1.122, allocations: 399.2 kB / 0.5442 GB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006589/1.129, allocations: 5.927 MB / 0.55 GB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/1.131, allocations: 101.5 kB / 0.5501 GB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/1.131, allocations: 76.42 kB / 0.5501 GB, free: 76.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (205): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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 {(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002507/1.134, allocations: 1.04 MB / 0.5512 GB, free: 76.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005497/1.134, allocations: 198.4 kB / 0.5514 GB, free: 76.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005589/1.14, allocations: 2.389 MB / 0.5537 GB, free: 75.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/1.14, allocations: 19.47 kB / 0.5537 GB, free: 75.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.14, allocations: 7.875 kB / 0.5537 GB, free: 75.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/1.14, allocations: 9.75 kB / 0.5537 GB, free: 75.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/1.152, allocations: 5.422 MB / 0.559 GB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.152, allocations: 6.875 kB / 0.559 GB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/1.154, allocations: 212.2 kB / 0.5592 GB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/1.155, allocations: 466.8 kB / 0.5597 GB, free: 75.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/1.156, allocations: 40.97 kB / 0.5597 GB, free: 75.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/1.167, allocations: 10.31 MB / 0.5698 GB, free: 68.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.831e-06/1.167, allocations: 9.406 kB / 0.5698 GB, free: 68.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007128/1.175, allocations: 3.418 MB / 0.5731 GB, free: 66.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/1.176, allocations: 467 kB / 0.5736 GB, free: 66.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/1.176, allocations: 38.3 kB / 0.5736 GB, free: 66.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.178, allocations: 70.69 kB / 0.5737 GB, free: 66.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/1.178, allocations: 119.5 kB / 0.5738 GB, free: 66.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.178, allocations: 42.61 kB / 0.5738 GB, free: 66.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002493/1.181, allocations: 1.262 MB / 0.5751 GB, free: 65.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.151e-06/1.181, allocations: 0 / 0.5751 GB, free: 65.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003514/1.184, allocations: 0.6472 MB / 0.5757 GB, free: 65.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00194/1.186, allocations: 0.6547 MB / 0.5763 GB, free: 65.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004618/1.191, allocations: 2.377 MB / 0.5787 GB, free: 64.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.136e-06/1.191, allocations: 0 / 0.5787 GB, free: 64.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003092/1.194, allocations: 1.639 MB / 0.5803 GB, free: 63.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/1.198, allocations: 0.5015 MB / 0.5807 GB, free: 63.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/1.211, allocations: 7.12 MB / 0.5877 GB, free: 59.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002478/1.213, allocations: 2.358 MB / 0.59 GB, free: 57.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007896/1.214, allocations: 151.2 kB / 0.5901 GB, free: 57.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.594e-06/1.214, allocations: 0 / 0.5901 GB, free: 57.93 MB / 410.7 MB Notification: Performance of Templates: time 0.3651/1.579, allocations: 108.4 MB / 0.696 GB, free: 82.56 MB / 410.7 MB