Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 11.98 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08686, allocations: 44.5 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0441/0.131, allocations: 27.09 MB / 336.2 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02227/0.1533, allocations: 8.574 MB / 344.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005567/0.1589, allocations: 187.3 kB / 344.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00805/0.167, allocations: 1.827 MB / 346.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.1809, allocations: 3.237 MB / 350 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007028/0.188, allocations: 1.428 MB / 351.4 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02716/0.2151, allocations: 11.77 MB / 363.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3019/0.5171, allocations: 17.42 MB / 380.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009509/0.5266, allocations: 4.531 MB / 385.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.5374, allocations: 5.076 MB / 390.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003329/0.5408, allocations: 0.7301 MB / 391 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005918/0.5467, allocations: 1.014 MB / 392 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003987/0.5508, allocations: 2.312 MB / 394.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004235/0.5551, allocations: 2.415 MB / 396.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0241/0.5792, allocations: 21.03 MB / 417.7 MB, free: 2.512 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5793, allocations: 0 / 417.7 MB, free: 2.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5793, allocations: 4 kB / 417.7 MB, free: 2.508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0006026/0.5799, allocations: 0 / 417.7 MB, free: 2.508 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.0514/0.6313, allocations: 12.42 MB / 430.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.6314, allocations: 12.03 kB / 430.2 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06738/0.6988, allocations: 7.692 MB / 437.9 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02202/0.7208, allocations: 7.212 MB / 445.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009536/0.7218, allocations: 0.8029 MB / 445.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004976/0.7268, allocations: 1.058 MB / 446.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05739/0.7842, allocations: 17.52 MB / 464.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004295/0.7847, allocations: 17.11 kB / 464.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003333/0.7881, allocations: 446.5 kB / 464.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001047/0.7891, allocations: 0.663 MB / 465.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05068/0.8398, allocations: 16.91 MB / 482.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1412/0.9811, allocations: 57.24 MB / 0.5271 GB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5625/1.544, allocations: 39.99 MB / 0.5661 GB, free: 94.8 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03011/1.574, allocations: 12.47 MB / 0.5783 GB, free: 88.82 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/1.574, allocations: 77.67 kB / 0.5784 GB, free: 88.75 MB / 426.8 MB Notification: Performance of pre-optimization done (n=410): time 7.604e-06/1.574, allocations: 0 / 0.5784 GB, free: 88.75 MB / 426.8 MB Notification: Performance of matching and sorting (n=435): time 0.07315/1.647, allocations: 22.27 MB / 0.6001 GB, free: 78.74 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.647, allocations: 125.9 kB / 0.6002 GB, free: 78.64 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008751/1.656, allocations: 4.714 MB / 0.6049 GB, free: 76.87 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008306/1.657, allocations: 100.5 kB / 0.6049 GB, free: 76.79 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003189/1.66, allocations: 4.774 MB / 0.6096 GB, free: 73.19 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001844/1.662, allocations: 1.495 MB / 0.6111 GB, free: 72.04 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006164/1.663, allocations: 127.7 kB / 0.6112 GB, free: 71.94 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003543/1.663, allocations: 0.5561 MB / 0.6117 GB, free: 71.53 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006751/1.67, allocations: 3 MB / 0.6147 GB, free: 69.43 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008319/1.678, allocations: 5.227 MB / 0.6198 GB, free: 63.18 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008916/1.687, allocations: 4.094 MB / 0.6238 GB, free: 59.06 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.018e-05/1.687, allocations: 24 kB / 0.6238 GB, free: 59.04 MB / 426.8 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.02555/1.713, allocations: 10.09 MB / 0.6336 GB, free: 48.89 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/1.713, allocations: 36 kB / 0.6337 GB, free: 48.85 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/1.713, allocations: 72 kB / 0.6338 GB, free: 48.78 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007099/1.72, allocations: 1.675 MB / 0.6354 GB, free: 47.09 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009785/1.73, allocations: 1.417 MB / 0.6368 GB, free: 45.68 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03244/1.762, allocations: 16.88 MB / 0.6533 GB, free: 28.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007529/1.77, allocations: 339.8 kB / 0.6536 GB, free: 27.94 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009599/1.771, allocations: 309.3 kB / 0.6539 GB, free: 27.64 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 714 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,69.4%) 28,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008684/1.78, allocations: 3.952 MB / 0.6577 GB, free: 23.67 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/1.781, allocations: 0.5017 MB / 0.6582 GB, free: 23.16 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02048/1.802, allocations: 7.937 MB / 0.666 GB, free: 15.13 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.1e-05/1.802, allocations: 23.92 kB / 0.666 GB, free: 15.11 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/1.802, allocations: 4 kB / 0.666 GB, free: 15.1 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003809/1.805, allocations: 1.166 MB / 0.6671 GB, free: 13.91 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/1.807, allocations: 80 kB / 0.6672 GB, free: 13.83 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004478/1.812, allocations: 235.8 kB / 0.6674 GB, free: 13.6 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009325/1.813, allocations: 359.2 kB / 0.6678 GB, free: 13.25 MB / 426.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02257/1.835, allocations: 7.695 MB / 0.6753 GB, free: 5.59 MB / 426.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0203/1.856, allocations: 9.072 MB / 0.6842 GB, free: 12.46 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006572/1.862, allocations: 2.79 MB / 0.6869 GB, free: 9.664 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.007705/1.87, allocations: 3.165 MB / 0.69 GB, free: 6.504 MB / 442.8 MB Notification: Performance of Backend: time 1.002e-06/1.87, allocations: 0 / 0.69 GB, free: 6.504 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01998/1.89, allocations: 6.133 MB / 0.696 GB, free: 384 kB / 442.8 MB Notification: Performance of SimCode: time 0.3241/2.214, allocations: 22.72 MB / 0.7181 GB, free: 135.8 MB / 442.8 MB Notification: Performance of Templates: time 0.2264/2.44, allocations: 91.73 MB / 0.8077 GB, free: 60.86 MB / 442.8 MB