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.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_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004877, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3016, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2098/0.5115, allocations: 90.24 MB / 398.8 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004302/0.5119, allocations: 87.94 kB / 398.9 MB, free: 2.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.614/2.126, allocations: 312.8 MB / 0.695 GB, free: 22.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.516e-06/2.126, allocations: 4 kB / 0.695 GB, free: 22.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004919/2.126, allocations: 183.8 kB / 0.6952 GB, free: 22.18 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.05006/2.176, allocations: 9.853 MB / 0.7048 GB, free: 12.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/2.176, allocations: 12.22 kB / 0.7048 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007247/2.184, allocations: 1.316 MB / 0.7061 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04747/2.231, allocations: 5.553 MB / 0.7116 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6489/2.88, allocations: 6.136 MB / 0.7175 GB, free: 49.77 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001384/2.882, allocations: 0.6319 MB / 0.7182 GB, free: 49.75 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005399/2.887, allocations: 0.8029 MB / 0.7189 GB, free: 49.75 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05635/2.943, allocations: 16.82 MB / 0.7354 GB, free: 48.93 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000475/2.944, allocations: 14.38 kB / 0.7354 GB, free: 48.93 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004746/2.949, allocations: 350.1 kB / 0.7357 GB, free: 48.93 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001275/2.95, allocations: 0.7154 MB / 0.7364 GB, free: 48.91 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0476/2.998, allocations: 16.19 MB / 0.7522 GB, free: 48.83 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1338/3.131, allocations: 51.25 MB / 0.8023 GB, free: 30.23 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03181/3.163, allocations: 13.81 MB / 0.8158 GB, free: 23.55 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/3.165, allocations: 315.5 kB / 0.8161 GB, free: 23.39 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/3.165, allocations: 121.9 kB / 0.8162 GB, free: 23.29 MB / 410.8 MB Notification: Performance of pre-optimization done (n=968): time 1.568e-05/3.165, allocations: 0 / 0.8162 GB, free: 23.29 MB / 410.8 MB Notification: Performance of matching and sorting (n=968): time 0.215/3.38, allocations: 40.28 MB / 0.8555 GB, free: 10.4 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/3.38, allocations: 161.2 kB / 0.8557 GB, free: 10.22 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006772/3.387, allocations: 1.642 MB / 0.8573 GB, free: 8.863 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003111/3.39, allocations: 145.7 kB / 0.8574 GB, free: 8.715 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003617/3.394, allocations: 2.54 MB / 0.8599 GB, free: 6.672 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.008314/3.402, allocations: 3.149 MB / 0.863 GB, free: 3.82 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003161/3.406, allocations: 132 kB / 0.8631 GB, free: 3.691 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.001838/3.408, allocations: 0.6443 MB / 0.8637 GB, free: 3.137 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05312/3.461, allocations: 7.418 MB / 0.871 GB, free: 0 / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3536/3.815, allocations: 7.133 MB / 0.8779 GB, free: 64.92 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01868/3.833, allocations: 7.517 MB / 0.8853 GB, free: 64.79 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.708e-05/3.833, allocations: 0 / 0.8853 GB, free: 64.79 MB / 426.8 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.05518/3.889, allocations: 18.11 MB / 0.903 GB, free: 64.48 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/3.889, allocations: 7 kB / 0.903 GB, free: 64.48 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/3.889, allocations: 8.5 kB / 0.903 GB, free: 64.48 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03094/3.92, allocations: 6.63 MB / 0.9094 GB, free: 64.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/3.93, allocations: 1.169 MB / 0.9106 GB, free: 64.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02523/3.956, allocations: 12.76 MB / 0.9231 GB, free: 62.19 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008222/3.964, allocations: 0.7876 MB / 0.9238 GB, free: 62.02 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002631/3.967, allocations: 274.8 kB / 0.9241 GB, free: 62.02 MB / 426.8 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.01157/3.978, allocations: 3.574 MB / 0.9276 GB, free: 60.74 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003005/3.981, allocations: 408 kB / 0.928 GB, free: 60.52 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05935/4.041, allocations: 19.48 MB / 0.947 GB, free: 52.44 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004936/4.041, allocations: 279.3 kB / 0.9473 GB, free: 52.29 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.435e-05/4.041, allocations: 2.5 kB / 0.9473 GB, free: 52.29 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001824/4.041, allocations: 38.67 kB / 0.9473 GB, free: 52.29 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08927/4.131, allocations: 34.21 MB / 0.9807 GB, free: 31.66 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001399/4.131, allocations: 1.219 kB / 0.9807 GB, free: 31.66 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00979/4.141, allocations: 1.102 MB / 0.9818 GB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02233/4.163, allocations: 6.647 MB / 0.9883 GB, free: 25.63 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002395/4.166, allocations: 212.9 kB / 0.9885 GB, free: 25.45 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02345/4.189, allocations: 12.72 MB / 1.001 GB, free: 14.23 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/4.189, allocations: 4 kB / 1.001 GB, free: 14.23 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4583/4.647, allocations: 29.82 MB / 1.03 GB, free: 75.47 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008111/4.656, allocations: 2.084 MB / 1.032 GB, free: 75.38 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003082/4.659, allocations: 128.4 kB / 1.032 GB, free: 75.38 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007788/4.667, allocations: 425.2 kB / 1.033 GB, free: 75.38 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003513/4.67, allocations: 0.7067 MB / 1.033 GB, free: 75.37 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002484/4.673, allocations: 255.5 kB / 1.034 GB, free: 75.37 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.004905/4.678, allocations: 1.276 MB / 1.035 GB, free: 75.26 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.252e-06/4.678, allocations: 0 / 1.035 GB, free: 75.26 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01375/4.691, allocations: 2.392 MB / 1.037 GB, free: 75.07 MB / 442.8 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.07755/4.769, allocations: 29.63 MB / 1.066 GB, free: 73.7 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.04442/4.814, allocations: 15.67 MB / 1.081 GB, free: 73.45 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/4.814, allocations: 2.938 kB / 1.081 GB, free: 73.45 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0263/4.84, allocations: 8.421 MB / 1.09 GB, free: 71.14 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007428/4.847, allocations: 0.5853 MB / 1.09 GB, free: 70.95 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1871/5.035, allocations: 65.55 MB / 1.154 GB, free: 29.82 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/5.049, allocations: 6.327 MB / 1.16 GB, free: 24.92 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.01106/5.06, allocations: 1.811 MB / 1.162 GB, free: 23.66 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008929/5.069, allocations: 2.951 MB / 1.165 GB, free: 20.93 MB / 442.8 MB Notification: Performance of SimCode: time 1.433e-06/5.069, allocations: 0 / 1.165 GB, free: 20.93 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.225/6.294, allocations: 199.8 MB / 1.36 GB, free: 63.17 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/6.294, allocations: 257 kB / 1.36 GB, free: 62.84 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/13.68, allocations: 0 / 1.36 GB, free: 62.84 MB / 458.8 MB