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.ACLine_RLC.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.ACLine_RLC,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.01058/0.01058, allocations: 92.64 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.001248/0.001248, allocations: 173.6 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.177/2.177, allocations: 205.5 MB / 222.2 MB, free: 13.73 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.47/2.47, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008612/0.0008613, allocations: 12.78 kB / 0.6243 GB, free: 28.3 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2546, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.0573/0.3119, allocations: 32.64 MB / 0.76 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.03006/0.342, allocations: 12.54 MB / 0.7722 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004225/0.3463, allocations: 135.1 kB / 0.7723 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003696/0.35, allocations: 0.7453 MB / 0.7731 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008739/0.3588, allocations: 1.881 MB / 0.7749 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.008402/0.3673, allocations: 1.649 MB / 0.7765 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01254/0.3799, allocations: 4.817 MB / 0.7812 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02837/0.4083, allocations: 11.41 MB / 0.7924 GB, free: 8.105 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006967/0.4153, allocations: 2.62 MB / 0.7949 GB, free: 5.477 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00729/0.4227, allocations: 2.663 MB / 0.7975 GB, free: 2.805 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.002546/0.4253, allocations: 320 kB / 0.7978 GB, free: 2.492 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004601/0.4299, allocations: 0.6634 MB / 0.7985 GB, free: 1.828 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.005675/0.4357, allocations: 2.233 MB / 0.8006 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003797/0.4395, allocations: 1.171 MB / 0.8018 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0181/0.4576, allocations: 9.58 MB / 0.8111 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4577, allocations: 4 kB / 0.8111 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4577, allocations: 0 / 0.8111 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003954/0.4581, allocations: 0 / 0.8111 GB, free: 4.801 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02018/0.4783, allocations: 5.15 MB / 0.8162 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.4784, allocations: 16.02 kB / 0.8162 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003197/0.4816, allocations: 0.7517 MB / 0.8169 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/0.4943, allocations: 1.281 MB / 0.8182 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.5059, allocations: 3.475 MB / 0.8216 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005647/0.5065, allocations: 378.1 kB / 0.8219 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00268/0.5092, allocations: 0.4959 MB / 0.8224 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02895/0.5382, allocations: 8.804 MB / 0.831 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003231/0.5386, allocations: 31.66 kB / 0.831 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001912/0.5405, allocations: 220 kB / 0.8313 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004058/0.5446, allocations: 0.6303 MB / 0.8319 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02294/0.5676, allocations: 6.975 MB / 0.8387 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6825/1.25, allocations: 40.38 MB / 0.8781 GB, free: 74.26 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007967/1.258, allocations: 2.89 MB / 0.8809 GB, free: 72.99 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005339/1.259, allocations: 27.44 kB / 0.881 GB, free: 72.98 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.977e-05/1.259, allocations: 68.08 kB / 0.881 GB, free: 72.92 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=265): time 6.442e-06/1.259, allocations: 0 / 0.881 GB, free: 72.92 MB / 0.6667 GB Notification: Performance of matching and sorting (n=424): time 0.5521/1.811, allocations: 77.41 MB / 0.9566 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/1.811, allocations: 94.73 kB / 0.9567 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004585/1.816, allocations: 2.331 MB / 0.959 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/1.817, allocations: 97.7 kB / 0.9591 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00187/1.819, allocations: 2.343 MB / 0.9614 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00243/1.821, allocations: 1.441 MB / 0.9628 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007789/1.822, allocations: 84 kB / 0.9629 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002826/1.822, allocations: 491.2 kB / 0.9633 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007857/1.83, allocations: 2.98 MB / 0.9662 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008576/1.839, allocations: 3.808 MB / 0.97 GB, free: 15.68 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.849, allocations: 3.552 MB / 0.9734 GB, free: 12.12 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.666e-05/1.849, allocations: 8 kB / 0.9734 GB, free: 12.12 MB / 0.6824 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.05379/1.903, allocations: 12.49 MB / 0.9856 GB, free: 15.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/1.903, allocations: 24.05 kB / 0.9857 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.003e-05/1.903, allocations: 24 kB / 0.9857 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04264/1.946, allocations: 6.006 MB / 0.9915 GB, free: 9.402 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004139/1.95, allocations: 495.2 kB / 0.992 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1632/2.113, allocations: 69.29 MB / 1.06 GB, free: 500 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00613/2.119, allocations: 223.8 kB / 1.06 GB, free: 276 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/2.12, allocations: 148 kB / 1.06 GB, free: 128 kB / 0.7605 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006319/2.127, allocations: 1.988 MB / 1.062 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/2.128, allocations: 395.4 kB / 1.062 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07182/2.2, allocations: 12.19 MB / 1.074 GB, free: 1.438 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001519/2.2, allocations: 40 kB / 1.074 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003768/2.201, allocations: 52 kB / 1.074 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001441/2.201, allocations: 23.88 kB / 1.074 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0965/2.298, allocations: 19.11 MB / 1.093 GB, free: 14.02 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.049e-05/2.298, allocations: 8 kB / 1.093 GB, free: 14.02 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003199/2.301, allocations: 295.5 kB / 1.093 GB, free: 13.73 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04007/2.341, allocations: 5.565 MB / 1.099 GB, free: 8.098 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001145/2.342, allocations: 87.94 kB / 1.099 GB, free: 8.012 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1457/2.488, allocations: 66.91 MB / 1.164 GB, free: 1.957 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/2.488, allocations: 8 kB / 1.164 GB, free: 1.949 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0772/2.565, allocations: 16.2 MB / 1.18 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005562/2.571, allocations: 1.051 MB / 1.181 GB, free: 216 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002049/2.573, allocations: 83.98 kB / 1.181 GB, free: 132 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.659/3.232, allocations: 213.4 kB / 1.181 GB, free: 292.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002835/3.235, allocations: 400 kB / 1.182 GB, free: 292.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001037/3.236, allocations: 109 kB / 1.182 GB, free: 292.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004449/3.24, allocations: 1.535 MB / 1.183 GB, free: 292.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.212e-06/3.24, allocations: 0.625 kB / 1.183 GB, free: 292.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01022/3.251, allocations: 1.846 MB / 1.185 GB, free: 292.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05903/3.31, allocations: 18.65 MB / 1.203 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.03529/3.345, allocations: 12.19 MB / 1.215 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/3.345, allocations: 0 / 1.215 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.02405/3.369, allocations: 8.377 MB / 1.223 GB, free: 279.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008065/3.377, allocations: 1.038 MB / 1.224 GB, free: 279.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1243/3.502, allocations: 57.71 MB / 1.281 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007587/3.509, allocations: 4.191 MB / 1.285 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003963/3.513, allocations: 0.6669 MB / 1.286 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003946/3.517, allocations: 2.136 MB / 1.288 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.103e-06/3.517, allocations: 0 / 1.288 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3113/3.829, allocations: 143.8 MB / 1.428 GB, free: 87.15 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/3.829, allocations: 230 kB / 1.428 GB, free: 86.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/11.45, allocations: 4 kB / 1.428 GB, free: 86.9 MB / 0.8855 GB