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.978/1.978, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004904, allocations: 11.98 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3174, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.0193/0.3368, allocations: 8.278 MB / 316.8 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.3481, allocations: 3.072 MB / 319.9 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.3499, allocations: 55.81 kB / 320 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.353, allocations: 0.5675 MB / 320.5 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.3583, allocations: 1.122 MB / 321.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.3623, allocations: 0.9196 MB / 322.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02858/0.3909, allocations: 12.55 MB / 335.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03706/0.428, allocations: 15.2 MB / 350.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006768/0.4348, allocations: 3.318 MB / 353.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009722/0.4446, allocations: 4.27 MB / 357.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002327/0.447, allocations: 0.5781 MB / 358.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004388/0.4514, allocations: 0.7576 MB / 359.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003537/0.455, allocations: 1.811 MB / 361.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003536/0.4585, allocations: 1.779 MB / 362.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02366/0.4822, allocations: 15.67 MB / 378.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4823, allocations: 0 / 378.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4823, allocations: 0 / 378.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004756/0.4828, allocations: 4 kB / 378.5 MB, free: 6.441 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.04632/0.5291, allocations: 10.79 MB / 389.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.5292, allocations: 8.031 kB / 389.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005807/0.535, allocations: 1.336 MB / 390.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07477/0.6098, allocations: 8.529 MB / 399.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01866/0.6285, allocations: 5.487 MB / 404.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009942/0.6296, allocations: 0.6623 MB / 405.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004533/0.6341, allocations: 0.8708 MB / 406.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5534/1.188, allocations: 15.83 MB / 422 MB, free: 71.68 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000397/1.188, allocations: 6.469 kB / 422 MB, free: 71.68 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002948/1.191, allocations: 372.5 kB / 422.4 MB, free: 71.4 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006791/1.192, allocations: 0.5563 MB / 423 MB, free: 71.35 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04291/1.235, allocations: 15.64 MB / 438.6 MB, free: 65.14 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/1.338, allocations: 48.43 MB / 487 MB, free: 17.99 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02696/1.365, allocations: 19.29 MB / 0.4945 GB, free: 12.59 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007737/1.366, allocations: 180.8 kB / 0.4946 GB, free: 12.41 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.861e-05/1.366, allocations: 86.52 kB / 0.4947 GB, free: 12.32 MB / 362.8 MB Notification: Performance of pre-optimization done (n=468): time 8.295e-06/1.366, allocations: 0 / 0.4947 GB, free: 12.32 MB / 362.8 MB Notification: Performance of matching and sorting (n=468): time 0.04322/1.409, allocations: 11.49 MB / 0.5059 GB, free: 0.6914 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/1.409, allocations: 129.1 kB / 0.5061 GB, free: 0.5469 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/1.419, allocations: 3.815 MB / 0.5098 GB, free: 12.72 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009464/1.42, allocations: 101.7 kB / 0.5099 GB, free: 12.62 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00424/1.425, allocations: 3.893 MB / 0.5137 GB, free: 8.711 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002747/1.428, allocations: 1.613 MB / 0.5153 GB, free: 7.109 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/1.429, allocations: 148 kB / 0.5154 GB, free: 6.965 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0009259/1.43, allocations: 0.6078 MB / 0.516 GB, free: 6.352 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01072/1.441, allocations: 3.66 MB / 0.5196 GB, free: 2.688 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01397/1.455, allocations: 6.457 MB / 0.5259 GB, free: 10.93 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/1.468, allocations: 5.2 MB / 0.531 GB, free: 5.711 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/1.469, allocations: 35.88 kB / 0.531 GB, free: 5.676 MB / 394.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.03759/1.506, allocations: 11.87 MB / 0.5426 GB, free: 9.73 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.506, allocations: 44 kB / 0.5426 GB, free: 9.688 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/1.506, allocations: 92 kB / 0.5427 GB, free: 9.598 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009113/1.516, allocations: 1.625 MB / 0.5443 GB, free: 7.953 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/1.528, allocations: 1.669 MB / 0.5459 GB, free: 6.281 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03279/1.561, allocations: 16.53 MB / 0.5621 GB, free: 4.945 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00854/1.569, allocations: 0.9484 MB / 0.563 GB, free: 3.988 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/1.571, allocations: 359.9 kB / 0.5633 GB, free: 3.637 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * 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 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2867/1.858, allocations: 3.751 MB / 0.567 GB, free: 136.3 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/1.859, allocations: 386.9 kB / 0.5674 GB, free: 136.3 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02719/1.886, allocations: 8.559 MB / 0.5757 GB, free: 135.4 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.499e-05/1.886, allocations: 51.16 kB / 0.5758 GB, free: 135.4 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.188e-05/1.887, allocations: 12.47 kB / 0.5758 GB, free: 135.4 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001245/1.887, allocations: 27.56 kB / 0.5758 GB, free: 135.4 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04617/1.933, allocations: 16.88 MB / 0.5923 GB, free: 129.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.79e-05/1.933, allocations: 2.016 kB / 0.5923 GB, free: 129.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007/1.94, allocations: 0.8564 MB / 0.5931 GB, free: 129.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008041/1.948, allocations: 1.505 MB / 0.5946 GB, free: 128.9 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001027/1.949, allocations: 103.4 kB / 0.5947 GB, free: 128.8 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02726/1.976, allocations: 16.38 MB / 0.6107 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.976, allocations: 4 kB / 0.6107 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03177/2.008, allocations: 12.16 MB / 0.6226 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003882/2.012, allocations: 1.108 MB / 0.6237 GB, free: 102.5 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001507/2.014, allocations: 88 kB / 0.6238 GB, free: 102.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005213/2.019, allocations: 308.9 kB / 0.624 GB, free: 102.1 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00152/2.021, allocations: 314.3 kB / 0.6243 GB, free: 101.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007544/2.021, allocations: 136 kB / 0.6245 GB, free: 101.7 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.005844/2.027, allocations: 2.551 MB / 0.627 GB, free: 99.11 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.022e-06/2.027, allocations: 6.516 kB / 0.627 GB, free: 99.11 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01052/2.038, allocations: 2.373 MB / 0.6293 GB, free: 96.73 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_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 (455): * Single equations (assignments): 449 * 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 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03242/2.07, allocations: 12.88 MB / 0.6419 GB, free: 83.65 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02252/2.093, allocations: 9.316 MB / 0.651 GB, free: 74.26 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/2.093, allocations: 0 / 0.651 GB, free: 74.26 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01178/2.105, allocations: 4.452 MB / 0.6553 GB, free: 69.75 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005735/2.11, allocations: 0.631 MB / 0.6559 GB, free: 69.12 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1222/2.233, allocations: 49.13 MB / 0.7039 GB, free: 17.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01173/2.245, allocations: 6.188 MB / 0.71 GB, free: 10.97 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.01426/2.259, allocations: 3.255 MB / 0.7131 GB, free: 7.711 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007052/2.266, allocations: 3.038 MB / 0.7161 GB, free: 4.672 MB / 426.8 MB Notification: Performance of SimCode: time 2.234e-06/2.266, allocations: 0 / 0.7161 GB, free: 4.672 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5405/2.807, allocations: 121.6 MB / 0.8349 GB, free: 57.63 MB / 442.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/2.807, allocations: 250.5 kB / 0.8351 GB, free: 57.38 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.082/8.889, allocations: 0 / 0.8351 GB, free: 57.38 MB / 442.8 MB