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_RL_N.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_RL_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.01103/0.01103, allocations: 108.5 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.001285/0.001285, allocations: 181.4 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.906/1.906, allocations: 194.6 MB / 211.3 MB, free: 11.22 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.4/2.4, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004953, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6654/0.6659, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02942/0.6954, allocations: 17.63 MB / 0.7007 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.7107, allocations: 6.206 MB / 0.7067 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002586/0.7134, allocations: 71.06 kB / 0.7068 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.7157, allocations: 402.5 kB / 0.7072 GB, free: 272 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.005509/0.7213, allocations: 0.8662 MB / 0.708 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005308/0.7266, allocations: 0.778 MB / 0.7088 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.007581/0.7343, allocations: 2.326 MB / 0.711 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02124/0.7556, allocations: 6.379 MB / 0.7173 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00517/0.7608, allocations: 1.311 MB / 0.7186 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005057/0.7659, allocations: 1.365 MB / 0.7199 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.7672, allocations: 177.2 kB / 0.7201 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.7703, allocations: 415.2 kB / 0.7205 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.003521/0.7739, allocations: 1.237 MB / 0.7217 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002276/0.7762, allocations: 0.6446 MB / 0.7223 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.788, allocations: 5.3 MB / 0.7275 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.788, allocations: 0 / 0.7275 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.096e-06/0.788, allocations: 3.938 kB / 0.7275 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002131/0.7883, allocations: 0 / 0.7275 GB, free: 1.164 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01018/0.7985, allocations: 2.832 MB / 0.7302 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.7985, allocations: 12.03 kB / 0.7302 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001627/0.8002, allocations: 454.4 kB / 0.7307 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005419/0.8056, allocations: 0.6245 MB / 0.7313 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006188/0.8119, allocations: 1.889 MB / 0.7331 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/0.8123, allocations: 218 kB / 0.7333 GB, free: 11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.8138, allocations: 299.7 kB / 0.7336 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.8279, allocations: 4.843 MB / 0.7384 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.8281, allocations: 7.938 kB / 0.7384 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005187/0.8286, allocations: 128 kB / 0.7385 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007265/0.8294, allocations: 233.7 kB / 0.7387 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.8404, allocations: 3.727 MB / 0.7424 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03485/0.8753, allocations: 21.61 MB / 0.7635 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003061/0.8785, allocations: 1.296 MB / 0.7647 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.8786, allocations: 17 kB / 0.7647 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.8786, allocations: 51.55 kB / 0.7648 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=107): time 3.867e-06/0.8787, allocations: 0 / 0.7648 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=138): time 0.04386/0.9225, allocations: 8.657 MB / 0.7732 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.9226, allocations: 72.7 kB / 0.7733 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/0.9248, allocations: 1.126 MB / 0.7744 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.9251, allocations: 45.7 kB / 0.7745 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.9264, allocations: 1.3 MB / 0.7757 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000694/0.9271, allocations: 477.1 kB / 0.7762 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.9273, allocations: 32 kB / 0.7762 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.9275, allocations: 373.9 kB / 0.7766 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.9298, allocations: 0.9056 MB / 0.7775 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/0.9325, allocations: 1.315 MB / 0.7787 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/0.9353, allocations: 1.138 MB / 0.7798 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/0.9354, allocations: 7.953 kB / 0.7799 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.01089/0.9463, allocations: 3.438 MB / 0.7832 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.9464, allocations: 12 kB / 0.7832 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/0.9464, allocations: 12 kB / 0.7832 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006083/0.9525, allocations: 1.183 MB / 0.7844 GB, free: 4.199 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.9547, allocations: 263.5 kB / 0.7846 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0299/0.9846, allocations: 13.18 MB / 0.7975 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.9867, allocations: 91.91 kB / 0.7976 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.9869, allocations: 63.98 kB / 0.7977 GB, free: 6.215 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002807/0.9897, allocations: 1.118 MB / 0.7988 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005397/0.9903, allocations: 162.1 kB / 0.7989 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009945/1, allocations: 3.158 MB / 0.802 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/1, allocations: 15.94 kB / 0.802 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.867e-05/1, allocations: 16 kB / 0.802 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.824e-05/1, allocations: 7.969 kB / 0.802 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/1.018, allocations: 6.233 MB / 0.8081 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.018, allocations: 4 kB / 0.8081 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.02, allocations: 147.8 kB / 0.8083 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005519/1.025, allocations: 1.077 MB / 0.8093 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/1.025, allocations: 28.31 kB / 0.8093 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02885/1.054, allocations: 12.92 MB / 0.822 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/1.054, allocations: 4 kB / 0.822 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009504/1.064, allocations: 3.377 MB / 0.8253 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.065, allocations: 431 kB / 0.8257 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004133/1.066, allocations: 43.92 kB / 0.8257 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.067, allocations: 75.91 kB / 0.8258 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006159/1.068, allocations: 124.7 kB / 0.8259 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.068, allocations: 40 kB / 0.8259 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001699/1.07, allocations: 0.7593 MB / 0.8267 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.042e-06/1.07, allocations: 0 / 0.8267 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003231/1.073, allocations: 0.6602 MB / 0.8273 GB, free: 7.02 MB / 0.6511 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01029/1.084, allocations: 5.176 MB / 0.8324 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.008657/1.092, allocations: 3.123 MB / 0.8354 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.092, allocations: 3.938 kB / 0.8354 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005575/1.098, allocations: 1.956 MB / 0.8373 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/1.101, allocations: 454.4 kB / 0.8378 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04557/1.147, allocations: 23.18 MB / 0.8604 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003939/1.151, allocations: 2.391 MB / 0.8627 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001894/1.153, allocations: 358.1 kB / 0.8631 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002147/1.155, allocations: 1.011 MB / 0.8641 GB, free: 492 kB / 0.6823 GB Notification: Performance of SimCode: time 1.944e-06/1.155, allocations: 0 / 0.8641 GB, free: 492 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6953/1.851, allocations: 49.33 MB / 0.9122 GB, free: 188.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/1.851, allocations: 233.1 kB / 0.9125 GB, free: 188.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.785/5.635, allocations: 0.75 kB / 0.9125 GB, free: 188.3 MB / 0.7292 GB