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_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08225/0.08264, allocations: 44.51 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01842/0.1011, allocations: 11.17 MB / 319.5 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1114, allocations: 4.233 MB / 323.8 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.114, allocations: 67.69 kB / 323.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.1172, allocations: 0.8007 MB / 324.6 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005013/0.1223, allocations: 1.199 MB / 325.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.1252, allocations: 0.6197 MB / 326.4 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007245/0.1324, allocations: 3.22 MB / 329.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005381/0.1379, allocations: 2.545 MB / 332.2 MB, free: 9.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/0.141, allocations: 1.46 MB / 333.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003642/0.1447, allocations: 1.743 MB / 335.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.1459, allocations: 240 kB / 335.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.1481, allocations: 399.8 kB / 336 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.1498, allocations: 0.8683 MB / 336.9 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.1516, allocations: 0.8473 MB / 337.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009817/0.1614, allocations: 6.303 MB / 344.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.438e-06/0.1615, allocations: 0 / 344.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.081e-06/0.1615, allocations: 0 / 344.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000157/0.1617, allocations: 0 / 344.1 MB, free: 13.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01389/0.1756, allocations: 4.288 MB / 348.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1757, allocations: 12.03 kB / 348.4 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006382/0.182, allocations: 0.8849 MB / 349.2 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007094/0.1892, allocations: 2.522 MB / 351.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004155/0.1897, allocations: 275.2 kB / 352 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/0.1909, allocations: 355.9 kB / 352.4 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01403/0.2049, allocations: 5.025 MB / 357.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.2051, allocations: 3.906 kB / 357.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006018/0.2057, allocations: 148 kB / 357.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002194/0.2059, allocations: 159.2 kB / 357.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/0.219, allocations: 4.373 MB / 362.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2499/0.469, allocations: 15.95 MB / 378 MB, free: 49.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008744/0.4778, allocations: 7.775 MB / 385.8 MB, free: 44.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009202/0.487, allocations: 4.057 MB / 389.9 MB, free: 42.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.4871, allocations: 56.66 kB / 389.9 MB, free: 42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=167): time 5.215e-06/0.4871, allocations: 2.625 kB / 389.9 MB, free: 42 MB / 314.7 MB Notification: Performance of matching and sorting (n=170): time 0.02266/0.5098, allocations: 8.336 MB / 398.3 MB, free: 37.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.5099, allocations: 69.19 kB / 398.3 MB, free: 37.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/0.514, allocations: 2.107 MB / 400.4 MB, free: 36.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003035/0.5143, allocations: 54.19 kB / 400.5 MB, free: 36.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.5154, allocations: 1.524 MB / 402 MB, free: 35.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006234/0.516, allocations: 0.5653 MB / 402.6 MB, free: 34.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.5162, allocations: 39.88 kB / 402.6 MB, free: 34.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5163, allocations: 390.4 kB / 403 MB, free: 34.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002288/0.5186, allocations: 0.9664 MB / 404 MB, free: 33.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/0.5214, allocations: 1.468 MB / 405.4 MB, free: 32.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/0.5241, allocations: 1.2 MB / 406.6 MB, free: 31.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-05/0.5242, allocations: 3.938 kB / 406.6 MB, free: 31.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007485/0.5317, allocations: 3.256 MB / 409.9 MB, free: 30.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.5318, allocations: 10.97 kB / 409.9 MB, free: 30.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.5318, allocations: 18.91 kB / 409.9 MB, free: 30.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002503/0.5343, allocations: 0.7283 MB / 410.7 MB, free: 29.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.5364, allocations: 387.2 kB / 411 MB, free: 29.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.5496, allocations: 10.63 MB / 421.7 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.5516, allocations: 96.05 kB / 421.8 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.5519, allocations: 80 kB / 421.8 MB, free: 18.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * 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: 4 * 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: 4 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00258/0.5545, allocations: 1.216 MB / 423.1 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005552/0.5551, allocations: 221.3 kB / 423.3 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007064/0.5621, allocations: 3.246 MB / 426.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.5622, allocations: 16 kB / 426.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/0.5622, allocations: 15.94 kB / 426.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.241e-05/0.5623, allocations: 7.969 kB / 426.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.5756, allocations: 6.687 MB / 433.2 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.5756, allocations: 4 kB / 433.2 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.5768, allocations: 187.8 kB / 433.4 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/0.5797, allocations: 0.9109 MB / 434.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00025/0.58, allocations: 43.98 kB / 434.4 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02238/0.6024, allocations: 15.08 MB / 449.5 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/0.6024, allocations: 8.016 kB / 449.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/0.6138, allocations: 4.646 MB / 454.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/0.6156, allocations: 0.5293 MB / 454.6 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005558/0.6162, allocations: 39.98 kB / 454.7 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.6177, allocations: 87.94 kB / 454.8 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005616/0.6183, allocations: 161.1 kB / 454.9 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/0.6185, allocations: 43.98 kB / 455 MB, free: 148 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003341/0.6218, allocations: 1.442 MB / 456.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.218e-06/0.6219, allocations: 3.938 kB / 456.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00386/0.6257, allocations: 0.7096 MB / 457.1 MB, free: 13.97 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * 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: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(1,100.0%) 1,(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.0005902/0.6264, allocations: 168.7 kB / 457.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00753/0.6339, allocations: 3.186 MB / 460.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.634, allocations: 4 kB / 460.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005493/0.6395, allocations: 2.303 MB / 462.8 MB, free: 8.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/0.643, allocations: 0.5865 MB / 463.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.6611, allocations: 8.167 MB / 471.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004143/0.6652, allocations: 2.7 MB / 474.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008245/0.6661, allocations: 155.4 kB / 474.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.486e-06/0.6661, allocations: 0 / 474.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.4684/1.135, allocations: 141.7 MB / 0.6017 GB, free: 75.1 MB / 410.7 MB