Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01261/0.01262, allocations: 90.2 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001202/0.001202, allocations: 169 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.105/2.105, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.413/2.413, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004668, allocations: 12.44 kB / 0.6243 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 106.2 MB / 0.7281 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01895/0.2359, allocations: 10.36 MB / 0.7382 GB, free: 15.73 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.2476, allocations: 4.948 MB / 0.743 GB, free: 10.77 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.2488, allocations: 31.81 kB / 0.7431 GB, free: 10.74 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.2504, allocations: 322.2 kB / 0.7434 GB, free: 10.42 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.2529, allocations: 0.5257 MB / 0.7439 GB, free: 9.895 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.2556, allocations: 0.5729 MB / 0.7444 GB, free: 9.32 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002772/0.2584, allocations: 1.142 MB / 0.7456 GB, free: 8.176 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00797/0.2664, allocations: 3.618 MB / 0.7491 GB, free: 4.5 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.2678, allocations: 0.5997 MB / 0.7497 GB, free: 3.898 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.2692, allocations: 0.6618 MB / 0.7503 GB, free: 3.234 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003092/0.2696, allocations: 96 kB / 0.7504 GB, free: 3.141 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.2709, allocations: 315.6 kB / 0.7507 GB, free: 2.832 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009805/0.2719, allocations: 0.6588 MB / 0.7514 GB, free: 2.172 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005241/0.2724, allocations: 348.9 kB / 0.7517 GB, free: 1.824 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.2768, allocations: 2.993 MB / 0.7546 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2769, allocations: 3.938 kB / 0.7546 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.985e-06/0.2769, allocations: 0 / 0.7546 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.152e-05/0.2769, allocations: 0 / 0.7546 GB, free: 14.82 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005195/0.2821, allocations: 1.644 MB / 0.7562 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.2822, allocations: 8.031 kB / 0.7562 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007478/0.283, allocations: 248.2 kB / 0.7565 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003916/0.2869, allocations: 0.4936 MB / 0.7569 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/0.2906, allocations: 1.123 MB / 0.758 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.2908, allocations: 123 kB / 0.7582 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006826/0.2915, allocations: 148 kB / 0.7583 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00791/0.2994, allocations: 2.731 MB / 0.761 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.046e-05/0.2995, allocations: 7.891 kB / 0.761 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/0.2998, allocations: 67.98 kB / 0.761 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006107/0.3005, allocations: 170.9 kB / 0.7612 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006937/0.3074, allocations: 2.288 MB / 0.7634 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02076/0.3282, allocations: 10.53 MB / 0.7737 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.33, allocations: 0.5725 MB / 0.7743 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.3302, allocations: 93.09 kB / 0.7744 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.3302, allocations: 42.5 kB / 0.7744 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.945e-06/0.3303, allocations: 0 / 0.7744 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.038/0.3683, allocations: 6.295 MB / 0.7806 GB, free: 3.078 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.3684, allocations: 81.55 kB / 0.7806 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.3702, allocations: 0.8945 MB / 0.7815 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.3704, allocations: 33.7 kB / 0.7815 GB, free: 2.039 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007049/0.3712, allocations: 0.7538 MB / 0.7823 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.3714, allocations: 193.4 kB / 0.7825 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3716, allocations: 16 kB / 0.7825 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002109/0.3718, allocations: 390.8 kB / 0.7828 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.3735, allocations: 0.6382 MB / 0.7835 GB, free: 36 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.3757, allocations: 1.007 MB / 0.7845 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.3778, allocations: 0.8179 MB / 0.7853 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.3778, allocations: 8 kB / 0.7853 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01652/0.3943, allocations: 3.221 MB / 0.7884 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001765/0.3961, allocations: 4.533 MB / 0.7928 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/0.3962, allocations: 12 kB / 0.7928 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01495/0.4112, allocations: 1.86 MB / 0.7947 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.4128, allocations: 223.6 kB / 0.7949 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/0.4372, allocations: 10.49 MB / 0.8051 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.4394, allocations: 183.6 kB / 0.8053 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.4396, allocations: 47.94 kB / 0.8053 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4396, allocations: 4 kB / 0.8053 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01308/0.4527, allocations: 2.625 MB / 0.8079 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/0.4528, allocations: 12.38 kB / 0.8079 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009925/0.4628, allocations: 1.211 MB / 0.8091 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.4646, allocations: 251.5 kB / 0.8093 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/0.478, allocations: 5.696 MB / 0.8149 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.4799, allocations: 151.8 kB / 0.8151 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.4801, allocations: 40 kB / 0.8151 GB, free: 14.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001914/0.4821, allocations: 0.8439 MB / 0.8159 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.4824, allocations: 75.16 kB / 0.816 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/0.4971, allocations: 2.703 MB / 0.8186 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.4972, allocations: 8 kB / 0.8186 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.4972, allocations: 3.938 kB / 0.8186 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.4972, allocations: 0 / 0.8186 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/0.5163, allocations: 4.539 MB / 0.8231 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.5164, allocations: 7.984 kB / 0.8231 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008346/0.5173, allocations: 104.1 kB / 0.8232 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01349/0.5308, allocations: 1.704 MB / 0.8248 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.531, allocations: 12 kB / 0.8249 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02136/0.5523, allocations: 10.05 MB / 0.8347 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.5524, allocations: 7.969 kB / 0.8347 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/0.5666, allocations: 2.748 MB / 0.8374 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009382/0.5676, allocations: 280.1 kB / 0.8376 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.5679, allocations: 15.94 kB / 0.8376 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.5694, allocations: 135.8 kB / 0.8378 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/0.5698, allocations: 51.88 kB / 0.8378 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/0.5699, allocations: 16 kB / 0.8378 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001449/0.5714, allocations: 0.6317 MB / 0.8385 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.32e-07/0.5714, allocations: 8 kB / 0.8385 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003201/0.5746, allocations: 0.582 MB / 0.839 GB, free: 4.961 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01553/0.5902, allocations: 3.889 MB / 0.8428 GB, free: 0.9766 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.583/1.173, allocations: 3.254 MB / 0.846 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/1.173, allocations: 1.125 kB / 0.846 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003353/1.177, allocations: 1.281 MB / 0.8473 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/1.178, allocations: 208.4 kB / 0.8475 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03376/1.212, allocations: 17.47 MB / 0.8645 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002924/1.215, allocations: 1.65 MB / 0.8661 GB, free: 99.49 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002641/1.218, allocations: 491.8 kB / 0.8666 GB, free: 99.48 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/1.219, allocations: 491.9 kB / 0.8671 GB, free: 99.09 MB / 0.6667 GB Notification: Performance of SimCode: time 1.503e-06/1.219, allocations: 0 / 0.8671 GB, free: 99.09 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08991/1.309, allocations: 34.41 MB / 0.9007 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/1.309, allocations: 241.7 kB / 0.9009 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.185/4.494, allocations: 0 / 0.9009 GB, free: 78.67 MB / 0.6667 GB