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_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004819, allocations: 15.98 kB / 265.9 MB, free: 11.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09577, allocations: 44.49 MB / 310.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5278/0.6236, allocations: 161.9 MB / 472.3 MB, free: 8.586 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/0.624, allocations: 109.2 kB / 472.4 MB, free: 8.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.587/5.211, allocations: 0.863 GB / 1.324 GB, free: 23.17 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.875e-06/5.211, allocations: 0 / 1.324 GB, free: 23.17 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001796/5.213, allocations: 486.5 kB / 1.325 GB, free: 23.09 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.1002/5.313, allocations: 20.72 MB / 1.345 GB, free: 14.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/5.313, allocations: 8.031 kB / 1.345 GB, free: 14.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08757/5.401, allocations: 10.38 MB / 1.355 GB, free: 8.266 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4907/5.892, allocations: 15.88 MB / 1.371 GB, free: 24.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002902/5.894, allocations: 1.548 MB / 1.372 GB, free: 24.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01127/5.906, allocations: 2.008 MB / 1.374 GB, free: 24.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.12/6.026, allocations: 35.94 MB / 1.409 GB, free: 22.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001107/6.027, allocations: 30.52 kB / 1.409 GB, free: 22.54 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00889/6.036, allocations: 0.8643 MB / 1.41 GB, free: 22.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00222/6.038, allocations: 1.393 MB / 1.412 GB, free: 22.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1301/6.168, allocations: 32.71 MB / 1.443 GB, free: 17.06 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3551/6.523, allocations: 113.3 MB / 1.554 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5702/7.094, allocations: 44.55 MB / 1.598 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.139/7.233, allocations: 49.4 MB / 1.646 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/7.233, allocations: 178.7 kB / 1.646 GB, free: 46.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1590): time 2.293e-05/7.233, allocations: 0 / 1.646 GB, free: 46.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1602): time 0.2077/7.441, allocations: 73.26 MB / 1.718 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/7.441, allocations: 218.3 kB / 1.718 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01472/7.456, allocations: 6.718 MB / 1.724 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003595/7.459, allocations: 249.7 kB / 1.725 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006335/7.466, allocations: 7.33 MB / 1.732 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.01406/7.48, allocations: 5.256 MB / 1.737 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005368/7.485, allocations: 260 kB / 1.737 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002057/7.487, allocations: 0.9077 MB / 1.738 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04357/7.531, allocations: 10.4 MB / 1.748 GB, free: 104 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6169/8.148, allocations: 13.65 MB / 1.762 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04954/8.198, allocations: 12.32 MB / 1.774 GB, free: 80.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001391/8.198, allocations: 13.19 kB / 1.774 GB, free: 80.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1877) (initialization): time 0.132/8.33, allocations: 31.91 MB / 1.805 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/8.33, allocations: 29.41 kB / 1.805 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002432/8.33, allocations: 49.09 kB / 1.805 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07088/8.401, allocations: 14.88 MB / 1.819 GB, free: 79.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02426/8.425, allocations: 2.108 MB / 1.821 GB, free: 79.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07874/8.504, allocations: 36.01 MB / 1.857 GB, free: 60.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01602/8.52, allocations: 0.6332 MB / 1.857 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004396/8.525, allocations: 0.526 MB / 1.858 GB, free: 60.62 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1070): * Single equations (assignments): 1030 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 5 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.02322/8.548, allocations: 7.902 MB / 1.865 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005134/8.553, allocations: 1.017 MB / 1.866 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09167/8.645, allocations: 32.56 MB / 1.898 GB, free: 38.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005147/8.645, allocations: 384 kB / 1.899 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.868e-05/8.645, allocations: 14.16 kB / 1.899 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003148/8.646, allocations: 67.12 kB / 1.899 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8121/9.458, allocations: 62.98 MB / 1.96 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003036/9.458, allocations: 6.688 kB / 1.96 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02069/9.479, allocations: 1.646 MB / 1.962 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07003/9.549, allocations: 14.83 MB / 1.976 GB, free: 67.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004788/9.554, allocations: 347.1 kB / 1.977 GB, free: 67.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.112/9.666, allocations: 40.32 MB / 2.016 GB, free: 56.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/9.666, allocations: 3.75 kB / 2.016 GB, free: 56.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.188/9.854, allocations: 47.86 MB / 2.063 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01575/9.87, allocations: 3.505 MB / 2.066 GB, free: 45.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006871/9.877, allocations: 246.5 kB / 2.066 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01543/9.892, allocations: 0.6373 MB / 2.067 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005941/9.898, allocations: 1.172 MB / 2.068 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003482/9.902, allocations: 431.9 kB / 2.069 GB, free: 45.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01192/9.914, allocations: 4.588 MB / 2.073 GB, free: 43.35 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.51e-07/9.914, allocations: 0 / 2.073 GB, free: 43.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02383/9.938, allocations: 3.921 MB / 2.077 GB, free: 42.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (834): * Single equations (assignments): 793 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.005909/9.944, allocations: 0.7986 MB / 2.078 GB, free: 42.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.08937/10.03, allocations: 26.65 MB / 2.104 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/10.03, allocations: 2.969 kB / 2.104 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.04713/10.08, allocations: 15.23 MB / 2.119 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02149/10.1, allocations: 2.329 MB / 2.121 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6388/10.74, allocations: 54.59 MB / 2.174 GB, free: 73.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03554/10.78, allocations: 13.9 MB / 2.188 GB, free: 72.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02039/10.8, allocations: 3.111 MB / 2.191 GB, free: 71.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005462/10.8, allocations: 0.6414 MB / 2.191 GB, free: 71.74 MB / 0.5417 GB Notification: Performance of SimCode: time 3.086e-06/10.8, allocations: 0 / 2.191 GB, free: 71.74 MB / 0.5417 GB Notification: Performance of Templates: time 1.655/12.46, allocations: 284.3 MB / 2.469 GB, free: 52.46 MB / 0.5574 GB