Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.0146/0.0146, allocations: 107.8 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.001441/0.00144, allocations: 181.8 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 1.969/1.969, allocations: 194.5 MB / 211.2 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.425/2.425, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.0006418, allocations: 12 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7103/0.711, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.07055/0.7816, allocations: 28.68 MB / 0.7114 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02724/0.8089, allocations: 9.83 MB / 0.721 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003653/0.8126, allocations: 124.2 kB / 0.7212 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.8159, allocations: 0.6332 MB / 0.7218 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006492/0.8224, allocations: 1.269 MB / 0.723 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.006492/0.829, allocations: 1.276 MB / 0.7243 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.008899/0.8379, allocations: 3.439 MB / 0.7276 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02557/0.8635, allocations: 10.32 MB / 0.7377 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005729/0.8693, allocations: 1.974 MB / 0.7396 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005244/0.8746, allocations: 1.985 MB / 0.7416 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.8762, allocations: 268 kB / 0.7418 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003977/0.8803, allocations: 0.6906 MB / 0.7425 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.003916/0.8842, allocations: 1.871 MB / 0.7443 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002665/0.8869, allocations: 0.9563 MB / 0.7453 GB, free: 14.87 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.9006, allocations: 8.206 MB / 0.7533 GB, free: 6.641 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.9007, allocations: 0 / 0.7533 GB, free: 6.641 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.875e-06/0.9007, allocations: 3.938 kB / 0.7533 GB, free: 6.637 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003109/0.901, allocations: 4 kB / 0.7533 GB, free: 6.633 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0137/0.9147, allocations: 4.031 MB / 0.7572 GB, free: 2.531 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.9148, allocations: 12.03 kB / 0.7572 GB, free: 2.52 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00253/0.9173, allocations: 0.6818 MB / 0.7579 GB, free: 1.828 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007748/0.9251, allocations: 0.9153 MB / 0.7588 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008955/0.9341, allocations: 2.796 MB / 0.7615 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004624/0.9346, allocations: 345.3 kB / 0.7619 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/0.9365, allocations: 463.9 kB / 0.7623 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02337/0.9599, allocations: 7.589 MB / 0.7697 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003029/0.9602, allocations: 35.59 kB / 0.7697 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00159/0.9618, allocations: 203.8 kB / 0.7699 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005963/0.9625, allocations: 313 kB / 0.7702 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01817/0.9807, allocations: 5.679 MB / 0.7758 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05553/1.036, allocations: 35.12 MB / 0.8101 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004712/1.041, allocations: 2.138 MB / 0.8122 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/1.041, allocations: 13.31 kB / 0.8122 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/1.041, allocations: 55.86 kB / 0.8122 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=133): time 4.007e-06/1.041, allocations: 0 / 0.8122 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=136): time 0.02363/1.065, allocations: 7.077 MB / 0.8191 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/1.065, allocations: 68.7 kB / 0.8192 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003017/1.068, allocations: 1.468 MB / 0.8206 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003303/1.068, allocations: 49.7 kB / 0.8207 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002048/1.071, allocations: 2.008 MB / 0.8227 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008795/1.071, allocations: 481.1 kB / 0.8231 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/1.072, allocations: 44 kB / 0.8232 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002375/1.072, allocations: 381.8 kB / 0.8235 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/1.074, allocations: 0.9018 MB / 0.8244 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003268/1.078, allocations: 1.577 MB / 0.8259 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/1.081, allocations: 1.181 MB / 0.8271 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/1.081, allocations: 4 kB / 0.8271 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01132/1.092, allocations: 3.511 MB / 0.8305 GB, free: 2.953 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/1.092, allocations: 16 kB / 0.8305 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.311e-05/1.093, allocations: 27.98 kB / 0.8306 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00474/1.097, allocations: 0.8999 MB / 0.8314 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/1.1, allocations: 347.4 kB / 0.8318 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03161/1.132, allocations: 21.55 MB / 0.8528 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/1.134, allocations: 99.92 kB / 0.8529 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003434/1.134, allocations: 87.98 kB / 0.853 GB, free: 10.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004359/1.139, allocations: 1.613 MB / 0.8546 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006993/1.139, allocations: 209.5 kB / 0.8548 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00938/1.149, allocations: 2.978 MB / 0.8577 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/1.149, allocations: 12 kB / 0.8577 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.064e-05/1.149, allocations: 15.95 kB / 0.8577 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-05/1.149, allocations: 7.969 kB / 0.8577 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/1.17, allocations: 7.313 MB / 0.8649 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/1.17, allocations: 4 kB / 0.8649 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/1.172, allocations: 175.7 kB / 0.865 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004571/1.177, allocations: 0.8303 MB / 0.8658 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003442/1.177, allocations: 28 kB / 0.8659 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0304/1.207, allocations: 20.62 MB / 0.886 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.445e-05/1.207, allocations: 12.05 kB / 0.886 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009331/1.217, allocations: 3.306 MB / 0.8892 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/1.218, allocations: 470.4 kB / 0.8897 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/1.219, allocations: 28 kB / 0.8897 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/1.221, allocations: 72.16 kB / 0.8898 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005878/1.221, allocations: 132.7 kB / 0.8899 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.221, allocations: 40 kB / 0.89 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002319/1.224, allocations: 0.96 MB / 0.8909 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.002e-06/1.224, allocations: 3.938 kB / 0.8909 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004535/1.228, allocations: 0.7852 MB / 0.8917 GB, free: 464 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01056/1.239, allocations: 5.053 MB / 0.8966 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.249, allocations: 4 MB / 0.9005 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.249, allocations: 4.062 kB / 0.9005 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006512/1.256, allocations: 2.744 MB / 0.9032 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005082/1.261, allocations: 0.6417 MB / 0.9038 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5974/1.858, allocations: 34.01 MB / 0.937 GB, free: 173.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007849/1.866, allocations: 3.185 MB / 0.9401 GB, free: 172.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002672/1.869, allocations: 456.1 kB / 0.9406 GB, free: 172.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003157/1.872, allocations: 1.554 MB / 0.9421 GB, free: 171.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/1.872, allocations: 0 / 0.9421 GB, free: 171.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1415/2.014, allocations: 59.03 MB / 0.9997 GB, free: 129 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/2.014, allocations: 223.7 kB / 0.9999 GB, free: 128.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.154/6.168, allocations: 0 / 0.9999 GB, free: 128.8 MB / 0.7292 GB