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.EddyCurrentLosses.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.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005223, allocations: 12 kB / 264.1 MB, free: 2.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3113, allocations: 44.49 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02444/0.3358, allocations: 13.88 MB / 322.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.3492, allocations: 4.341 MB / 326.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.3525, allocations: 107.6 kB / 326.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004624/0.3572, allocations: 0.9094 MB / 327.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007987/0.3652, allocations: 1.535 MB / 329.3 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006259/0.3715, allocations: 1.281 MB / 330.6 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02234/0.3939, allocations: 9.311 MB / 339.9 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05026/0.4442, allocations: 17.18 MB / 357.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008504/0.4528, allocations: 3.606 MB / 360.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009938/0.4628, allocations: 4.051 MB / 364.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002708/0.4655, allocations: 0.5625 MB / 365.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005095/0.4707, allocations: 0.7809 MB / 366.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004018/0.4748, allocations: 1.713 MB / 367.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004035/0.4788, allocations: 1.771 MB / 369.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02476/0.5037, allocations: 15.21 MB / 384.8 MB, free: 132 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.5037, allocations: 4 kB / 384.8 MB, free: 128 kB / 314.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.5037, allocations: 0 / 384.8 MB, free: 128 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005234/0.5043, allocations: 3.938 kB / 384.8 MB, free: 124 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04632/0.5506, allocations: 10.3 MB / 395.1 MB, free: 5.738 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.5507, allocations: 12.03 kB / 395.1 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006742/0.5575, allocations: 1.516 MB / 396.6 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05481/0.6123, allocations: 6.263 MB / 402.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01745/0.6298, allocations: 5.095 MB / 408 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001115/0.631, allocations: 0.6664 MB / 408.7 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004332/0.6354, allocations: 0.8749 MB / 409.5 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.549/1.184, allocations: 14.6 MB / 424.2 MB, free: 71.93 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004265/1.185, allocations: 13.98 kB / 424.2 MB, free: 71.93 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003063/1.188, allocations: 373.4 kB / 424.5 MB, free: 71.65 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007344/1.189, allocations: 498 kB / 425 MB, free: 71.6 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03639/1.225, allocations: 13.49 MB / 438.5 MB, free: 65.8 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09709/1.322, allocations: 44.74 MB / 483.2 MB, free: 22.38 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0172/1.34, allocations: 11.69 MB / 494.9 MB, free: 9.586 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/1.34, allocations: 180.4 kB / 495.1 MB, free: 9.41 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/1.34, allocations: 82.56 kB / 495.2 MB, free: 9.32 MB / 346.8 MB Notification: Performance of pre-optimization done (n=421): time 7.815e-06/1.34, allocations: 0 / 495.2 MB, free: 9.32 MB / 346.8 MB Notification: Performance of matching and sorting (n=421): time 0.03448/1.375, allocations: 10.3 MB / 0.4936 GB, free: 14.83 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.375, allocations: 125 kB / 0.4938 GB, free: 14.69 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007865/1.383, allocations: 3.128 MB / 0.4968 GB, free: 11.54 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009354/1.384, allocations: 93.7 kB / 0.4969 GB, free: 11.45 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003847/1.388, allocations: 3.691 MB / 0.5005 GB, free: 7.73 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002409/1.39, allocations: 1.423 MB / 0.5019 GB, free: 6.316 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008235/1.391, allocations: 116 kB / 0.502 GB, free: 6.203 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0005849/1.392, allocations: 0.5459 MB / 0.5025 GB, free: 5.648 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008285/1.4, allocations: 2.904 MB / 0.5054 GB, free: 2.738 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/1.411, allocations: 4.947 MB / 0.5102 GB, free: 12.85 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/1.422, allocations: 4.029 MB / 0.5141 GB, free: 8.797 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.53e-05/1.422, allocations: 23.95 kB / 0.5142 GB, free: 8.773 MB / 378.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.02885/1.451, allocations: 9.21 MB / 0.5232 GB, free: 15.51 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.394e-05/1.451, allocations: 36.03 kB / 0.5232 GB, free: 15.47 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001659/1.451, allocations: 71.95 kB / 0.5233 GB, free: 15.4 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005819/1.457, allocations: 1.094 MB / 0.5243 GB, free: 14.3 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009388/1.466, allocations: 1.306 MB / 0.5256 GB, free: 12.99 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02399/1.49, allocations: 10.08 MB / 0.5354 GB, free: 2.648 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006481/1.497, allocations: 0.7397 MB / 0.5362 GB, free: 1.902 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/1.498, allocations: 280 kB / 0.5364 GB, free: 1.629 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008814/1.507, allocations: 3.423 MB / 0.5398 GB, free: 14.19 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.508, allocations: 351.6 kB / 0.5401 GB, free: 13.84 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02166/1.53, allocations: 7.05 MB / 0.547 GB, free: 6.734 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01833/1.548, allocations: 5.863 MB / 0.5527 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-05/1.548, allocations: 12 kB / 0.5527 GB, free: 0.8086 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001183/1.549, allocations: 19.92 kB / 0.5528 GB, free: 0.7891 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04718/1.596, allocations: 15.11 MB / 0.5675 GB, free: 1.582 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.675e-05/1.596, allocations: 12.19 kB / 0.5675 GB, free: 1.57 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006521/1.602, allocations: 0.7644 MB / 0.5683 GB, free: 0.8047 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3094/1.912, allocations: 1.009 MB / 0.5693 GB, free: 138.6 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001113/1.913, allocations: 103.3 kB / 0.5694 GB, free: 138.6 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02207/1.935, allocations: 9.935 MB / 0.5791 GB, free: 134.7 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/1.935, allocations: 10.72 kB / 0.5791 GB, free: 134.7 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02575/1.961, allocations: 10.56 MB / 0.5894 GB, free: 130.5 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003258/1.964, allocations: 0.9815 MB / 0.5903 GB, free: 129.9 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001392/1.966, allocations: 79.59 kB / 0.5904 GB, free: 129.9 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004655/1.97, allocations: 271.7 kB / 0.5907 GB, free: 129.8 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001359/1.972, allocations: 318.2 kB / 0.591 GB, free: 129.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000552/1.972, allocations: 129.3 kB / 0.5911 GB, free: 129.7 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.004647/1.977, allocations: 2.099 MB / 0.5931 GB, free: 129 MB / 426.8 MB Notification: Performance of sort global known variables: time 8.12e-07/1.977, allocations: 0 / 0.5931 GB, free: 129 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01016/1.987, allocations: 2.241 MB / 0.5953 GB, free: 128.3 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_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 (401): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02685/2.014, allocations: 11.27 MB / 0.6063 GB, free: 122.9 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01807/2.032, allocations: 7.541 MB / 0.6137 GB, free: 116.4 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/2.032, allocations: 1.203 kB / 0.6137 GB, free: 116.4 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009674/2.042, allocations: 3.668 MB / 0.6173 GB, free: 113.2 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005695/2.048, allocations: 0.6727 MB / 0.6179 GB, free: 112.7 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.114/2.162, allocations: 43.38 MB / 0.6603 GB, free: 68.21 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01427/2.176, allocations: 6.063 MB / 0.6662 GB, free: 62.11 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.01331/2.189, allocations: 2.13 MB / 0.6683 GB, free: 59.98 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007238/2.197, allocations: 3.01 MB / 0.6713 GB, free: 56.96 MB / 426.8 MB Notification: Performance of SimCode: time 1.533e-06/2.197, allocations: 0 / 0.6713 GB, free: 56.96 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5013/2.698, allocations: 110.2 MB / 0.7789 GB, free: 95.62 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/2.698, allocations: 252.6 kB / 0.7791 GB, free: 95.38 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.569/8.267, allocations: 0 / 0.7791 GB, free: 95.38 MB / 426.8 MB