Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01115/0.01115, allocations: 107.9 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001241/0.001241, allocations: 181.3 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.035/2.035, allocations: 194.5 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2658/0.2658, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006733/0.0006735, allocations: 11.98 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1494, allocations: 54.89 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004944/0.1544, allocations: 2.781 MB / 418.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.1565, allocations: 0.8079 MB / 419.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.1569, allocations: 11.94 kB / 419.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.1571, allocations: 51.61 kB / 419.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.1576, allocations: 143.5 kB / 419.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.158, allocations: 95.83 kB / 419.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006544/0.1587, allocations: 355.8 kB / 420.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.1591, allocations: 182.6 kB / 420.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.1595, allocations: 175.4 kB / 420.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.1599, allocations: 195.1 kB / 420.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.1599, allocations: 24 kB / 420.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1601, allocations: 28 kB / 420.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1602, allocations: 79.62 kB / 420.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1603, allocations: 113.4 kB / 421 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.1609, allocations: 415 kB / 421.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1609, allocations: 0 / 421.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1609, allocations: 0 / 421.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.161, allocations: 0 / 421.4 MB, free: 13.09 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001801/0.1628, allocations: 0.7094 MB / 422.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.1628, allocations: 8.031 kB / 422.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.163, allocations: 86.52 kB / 422.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.1631, allocations: 47.44 kB / 422.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.1637, allocations: 308.3 kB / 422.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.1637, allocations: 37 kB / 422.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.1639, allocations: 51.94 kB / 422.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.1652, allocations: 462.9 kB / 423.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.1652, allocations: 0 / 423.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.1653, allocations: 20 kB / 423.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.1653, allocations: 16 kB / 423.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.1666, allocations: 323.8 kB / 423.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.1706, allocations: 1.713 MB / 425.2 MB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009533/0.1716, allocations: 237 kB / 425.4 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.1716, allocations: 4 kB / 425.4 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1717, allocations: 34.56 kB / 425.5 MB, free: 8.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.476e-06/0.1717, allocations: 0 / 425.5 MB, free: 8.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.004756/0.1765, allocations: 1.334 MB / 426.8 MB, free: 7.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.1766, allocations: 81.11 kB / 426.9 MB, free: 7.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.177, allocations: 262.5 kB / 427.1 MB, free: 6.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.1771, allocations: 29.7 kB / 427.2 MB, free: 6.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.1773, allocations: 259.5 kB / 427.4 MB, free: 6.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.1774, allocations: 118.3 kB / 427.5 MB, free: 6.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.1775, allocations: 8 kB / 427.5 MB, free: 6.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1776, allocations: 342.8 kB / 427.9 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/0.1781, allocations: 112.8 kB / 428 MB, free: 6.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.1787, allocations: 212.3 kB / 428.2 MB, free: 5.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.1793, allocations: 135.3 kB / 428.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1793, allocations: 0 / 428.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001492/0.1808, allocations: 421.6 kB / 428.7 MB, free: 5.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.1809, allocations: 8.375 kB / 428.7 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.1809, allocations: 11.98 kB / 428.8 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.1811, allocations: 32.78 kB / 428.8 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/0.182, allocations: 123.8 kB / 428.9 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.1836, allocations: 1.336 MB / 430.2 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.1841, allocations: 15.98 kB / 430.3 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.1842, allocations: 19.94 kB / 430.3 MB, free: 3.625 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003083/0.1845, allocations: 161.8 kB / 430.4 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.1846, allocations: 35.58 kB / 430.5 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.433e-05/0.1847, allocations: 38.17 kB / 430.5 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1847, allocations: 4 kB / 430.5 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1847, allocations: 4 kB / 430.5 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.1848, allocations: 3.984 kB / 430.5 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008343/0.1856, allocations: 413.4 kB / 430.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1856, allocations: 0 / 430.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/0.1865, allocations: 103.8 kB / 431 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/0.1867, allocations: 24.84 kB / 431 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.1867, allocations: 8 kB / 431.1 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.1881, allocations: 1.328 MB / 432.4 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1882, allocations: 0 / 432.4 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.19, allocations: 0.6129 MB / 433 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.1903, allocations: 120.7 kB / 433.1 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.1904, allocations: 12 kB / 433.1 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.1908, allocations: 24.08 kB / 433.1 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.191, allocations: 23.95 kB / 433.2 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.191, allocations: 8 kB / 433.2 MB, free: 496 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002719/0.1913, allocations: 182 kB / 433.4 MB, free: 316 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1913, allocations: 0 / 433.4 MB, free: 316 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006698/0.192, allocations: 99.94 kB / 433.5 MB, free: 216 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002244/0.1942, allocations: 1.216 MB / 434.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.196, allocations: 417.9 kB / 435.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.1961, allocations: 4 kB / 435.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.1975, allocations: 253 kB / 435.3 MB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.198, allocations: 40.86 kB / 435.4 MB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006643/0.2047, allocations: 4.172 MB / 439.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.2053, allocations: 0.8191 MB / 440.4 MB, free: 9.117 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002981/0.2056, allocations: 34.97 kB / 440.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.2059, allocations: 135.4 kB / 440.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.206, allocations: 0 / 440.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.2404, allocations: 5.689 MB / 446.2 MB, free: 3.328 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/0.2407, allocations: 194.2 kB / 446.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/2.893, allocations: 4 kB / 446.4 MB, free: 3.082 MB / 378.7 MB