Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.185/2.185, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 16 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.09888, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.5697, allocations: 113.2 MB / 422.3 MB, free: 8.172 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.57, allocations: 93.14 kB / 422.4 MB, free: 8.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8008/1.371, allocations: 133.3 MB / 0.5426 GB, free: 62.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.436e-06/1.371, allocations: 0 / 0.5426 GB, free: 62.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006182/1.372, allocations: 133.2 kB / 0.5427 GB, free: 62.65 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02306/1.395, allocations: 5.27 MB / 0.5479 GB, free: 60.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.395, allocations: 10.34 kB / 0.5479 GB, free: 60.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007668/1.402, allocations: 0.9845 MB / 0.5489 GB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01627/1.419, allocations: 4.527 MB / 0.5533 GB, free: 59.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004991/1.419, allocations: 367.7 kB / 0.5536 GB, free: 59.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002161/1.421, allocations: 485.5 kB / 0.5541 GB, free: 59.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02014/1.442, allocations: 6.723 MB / 0.5607 GB, free: 59.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001587/1.442, allocations: 5.875 kB / 0.5607 GB, free: 59.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008344/1.443, allocations: 201.9 kB / 0.5609 GB, free: 59.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002766/1.443, allocations: 241.8 kB / 0.5611 GB, free: 59.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02213/1.465, allocations: 5.584 MB / 0.5665 GB, free: 59.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04916/1.514, allocations: 21 MB / 0.5871 GB, free: 53.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/1.527, allocations: 9.952 MB / 0.5968 GB, free: 45.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01626/1.544, allocations: 5.477 MB / 0.6021 GB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/1.544, allocations: 59.56 kB / 0.6022 GB, free: 42.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=227): time 5.219e-06/1.544, allocations: 0 / 0.6022 GB, free: 42.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.03105/1.575, allocations: 10.03 MB / 0.612 GB, free: 37.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/1.575, allocations: 77.81 kB / 0.612 GB, free: 37.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006192/1.581, allocations: 2.943 MB / 0.6149 GB, free: 36.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005519/1.582, allocations: 69.02 kB / 0.615 GB, free: 36.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001722/1.583, allocations: 2.151 MB / 0.6171 GB, free: 34.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009936/1.584, allocations: 0.7775 MB / 0.6178 GB, free: 34.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/1.585, allocations: 51.09 kB / 0.6179 GB, free: 34.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/1.585, allocations: 411.3 kB / 0.6183 GB, free: 33.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003221/1.588, allocations: 1.303 MB / 0.6196 GB, free: 33.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/1.592, allocations: 1.882 MB / 0.6214 GB, free: 32.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003982/1.596, allocations: 1.597 MB / 0.623 GB, free: 31.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/1.596, allocations: 3.188 kB / 0.623 GB, free: 31.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=327) (initialization): time 0.0112/1.607, allocations: 4.252 MB / 0.6271 GB, free: 29.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/1.607, allocations: 14.38 kB / 0.6271 GB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/1.607, allocations: 14.88 kB / 0.6271 GB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002592/1.61, allocations: 0.6471 MB / 0.6278 GB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/1.615, allocations: 0.5673 MB / 0.6283 GB, free: 29.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/1.63, allocations: 10.22 MB / 0.6383 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006257/1.636, allocations: 112.5 kB / 0.6384 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009569/1.637, allocations: 104 kB / 0.6385 GB, free: 21.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 (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 initialization (277): * Single equations (assignments): 272 * 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 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006168/1.643, allocations: 1.606 MB / 0.6401 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/1.645, allocations: 317.2 kB / 0.6404 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/1.658, allocations: 3.993 MB / 0.6443 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/1.658, allocations: 28 kB / 0.6443 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/1.658, allocations: 8 kB / 0.6443 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.145e-05/1.658, allocations: 15.39 kB / 0.6443 GB, free: 17.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/1.681, allocations: 8.718 MB / 0.6528 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.681, allocations: 7.938 kB / 0.6529 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003112/1.684, allocations: 360.8 kB / 0.6532 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003626/1.688, allocations: 0.825 MB / 0.654 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004921/1.688, allocations: 58.8 kB / 0.6541 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02169/1.71, allocations: 14.68 MB / 0.6684 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/1.71, allocations: 4.031 kB / 0.6684 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.727, allocations: 5.844 MB / 0.6741 GB, free: 6.184 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003032/1.73, allocations: 0.7041 MB / 0.6748 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/1.731, allocations: 55.61 kB / 0.6748 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003747/1.735, allocations: 121.8 kB / 0.675 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009848/1.736, allocations: 193.1 kB / 0.6751 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002987/1.737, allocations: 67.8 kB / 0.6752 GB, free: 5.203 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006099/1.743, allocations: 2.038 MB / 0.6772 GB, free: 3.492 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.743, allocations: 0 / 0.6772 GB, free: 3.492 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006029/1.749, allocations: 0.9839 MB / 0.6782 GB, free: 2.512 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (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 (164): * Single equations (assignments): 158 * 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,(3,88.9%) 25,(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.001378/1.75, allocations: 458 kB / 0.6786 GB, free: 2.137 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.3844/2.135, allocations: 3.994 MB / 0.6825 GB, free: 70.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/2.135, allocations: 0.625 kB / 0.6825 GB, free: 70.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01014/2.145, allocations: 2.696 MB / 0.6851 GB, free: 70.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/2.155, allocations: 0.8627 MB / 0.686 GB, free: 70.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04216/2.198, allocations: 11.25 MB / 0.697 GB, free: 65.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/2.208, allocations: 3.52 MB / 0.7004 GB, free: 65.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007123/2.216, allocations: 0.7545 MB / 0.7011 GB, free: 64.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/2.218, allocations: 196.2 kB / 0.7013 GB, free: 64.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.592e-06/2.218, allocations: 0 / 0.7013 GB, free: 64.96 MB / 426.7 MB Notification: Performance of Templates: time 0.1946/2.412, allocations: 51.28 MB / 0.7514 GB, free: 62.05 MB / 426.7 MB