Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006003/0.0006002, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1132, allocations: 44.5 MB / 308.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4566/0.5698, allocations: 90.24 MB / 398.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.5702, allocations: 93.38 kB / 398.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.526/2.097, allocations: 312.8 MB / 0.695 GB, free: 68.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.237e-06/2.097, allocations: 0 / 0.695 GB, free: 68.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007302/2.097, allocations: 179.2 kB / 0.6952 GB, free: 68.31 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.05088/2.148, allocations: 9.858 MB / 0.7048 GB, free: 65.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/2.148, allocations: 7.344 kB / 0.7048 GB, free: 65.72 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0066/2.155, allocations: 1.312 MB / 0.7061 GB, free: 65.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04513/2.2, allocations: 5.557 MB / 0.7115 GB, free: 65.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01946/2.22, allocations: 6.14 MB / 0.7175 GB, free: 64.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001152/2.221, allocations: 0.6277 MB / 0.7181 GB, free: 64.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004537/2.225, allocations: 0.8039 MB / 0.7189 GB, free: 64.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0517/2.277, allocations: 16.83 MB / 0.7354 GB, free: 63.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004149/2.278, allocations: 11.59 kB / 0.7354 GB, free: 63.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004014/2.282, allocations: 351 kB / 0.7357 GB, free: 63.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001068/2.283, allocations: 0.7164 MB / 0.7364 GB, free: 63.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04564/2.328, allocations: 16.19 MB / 0.7522 GB, free: 63.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.13/2.458, allocations: 51.25 MB / 0.8023 GB, free: 35.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02964/2.488, allocations: 13.81 MB / 0.8157 GB, free: 23.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/2.49, allocations: 311.8 kB / 0.816 GB, free: 23.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/2.49, allocations: 117.9 kB / 0.8161 GB, free: 23.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 1.461e-05/2.49, allocations: 0 / 0.8161 GB, free: 23.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.44/2.93, allocations: 39.62 MB / 0.8548 GB, free: 61.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/2.93, allocations: 156.6 kB / 0.855 GB, free: 61.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004343/2.934, allocations: 1.641 MB / 0.8566 GB, free: 60.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002243/2.937, allocations: 146.7 kB / 0.8567 GB, free: 60.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/2.938, allocations: 2.486 MB / 0.8592 GB, free: 59.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005328/2.944, allocations: 3.147 MB / 0.8622 GB, free: 58.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002158/2.946, allocations: 131.8 kB / 0.8624 GB, free: 58.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001088/2.947, allocations: 0.6472 MB / 0.863 GB, free: 57.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01724/2.964, allocations: 6.507 MB / 0.8693 GB, free: 57.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01811/2.983, allocations: 7.129 MB / 0.8763 GB, free: 57.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01891/3.002, allocations: 7.511 MB / 0.8836 GB, free: 57.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-05/3.002, allocations: 2.812 kB / 0.8836 GB, free: 57.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.04954/3.051, allocations: 18.01 MB / 0.9012 GB, free: 54.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/3.051, allocations: 9.062 kB / 0.9012 GB, free: 54.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.959e-05/3.051, allocations: 6.562 kB / 0.9012 GB, free: 54.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0227/3.074, allocations: 6.644 MB / 0.9077 GB, free: 53.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01062/3.085, allocations: 1.17 MB / 0.9089 GB, free: 53.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02541/3.11, allocations: 12.76 MB / 0.9213 GB, free: 46.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008203/3.118, allocations: 0.7823 MB / 0.9221 GB, free: 46.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002534/3.121, allocations: 269.4 kB / 0.9224 GB, free: 46.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * 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: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.01155/3.133, allocations: 3.586 MB / 0.9259 GB, free: 44.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002981/3.136, allocations: 405.6 kB / 0.9263 GB, free: 44.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0556/3.191, allocations: 19.48 MB / 0.9453 GB, free: 36.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004642/3.192, allocations: 272.4 kB / 0.9455 GB, free: 36.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.434e-05/3.192, allocations: 1.875 kB / 0.9455 GB, free: 36.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002105/3.192, allocations: 45.45 kB / 0.9456 GB, free: 36.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08673/3.279, allocations: 34.21 MB / 0.979 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001338/3.279, allocations: 0 / 0.979 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00994/3.289, allocations: 1.106 MB / 0.9801 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02193/3.311, allocations: 6.644 MB / 0.9866 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00244/3.313, allocations: 201.1 kB / 0.9867 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02673/3.34, allocations: 12.74 MB / 0.9992 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/3.34, allocations: 0 / 0.9992 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.387/3.727, allocations: 29.81 MB / 1.028 GB, free: 79.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006727/3.734, allocations: 2.072 MB / 1.03 GB, free: 79.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002446/3.736, allocations: 130.2 kB / 1.03 GB, free: 79.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006991/3.743, allocations: 420 kB / 1.031 GB, free: 79.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003233/3.747, allocations: 0.7116 MB / 1.032 GB, free: 79.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001413/3.748, allocations: 258.9 kB / 1.032 GB, free: 79.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002494/3.751, allocations: 1.274 MB / 1.033 GB, free: 79.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.71e-07/3.751, allocations: 0 / 1.033 GB, free: 79.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009873/3.761, allocations: 2.391 MB / 1.035 GB, free: 78.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * 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: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.07172/3.832, allocations: 29.61 MB / 1.064 GB, free: 73.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.04178/3.874, allocations: 15.67 MB / 1.08 GB, free: 67.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/3.874, allocations: 0 / 1.08 GB, free: 67.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02516/3.899, allocations: 8.42 MB / 1.088 GB, free: 64.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007199/3.907, allocations: 0.5874 MB / 1.088 GB, free: 64.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1588/4.065, allocations: 65.43 MB / 1.152 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01274/4.078, allocations: 6.252 MB / 1.158 GB, free: 7.562 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009517/4.088, allocations: 2.989 MB / 1.161 GB, free: 4.797 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/4.088, allocations: 0 / 1.161 GB, free: 4.797 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.362/9.45, allocations: 356.3 MB / 1.509 GB, free: 92.24 MB / 474.7 MB