Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.954/1.954, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 187.5 kB / 393.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 225.7 MB / 0.6743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 102.8 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004002, allocations: 8 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.7063, allocations: 121.3 MB / 1.041 GB, free: 58.84 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02608/0.7325, allocations: 13.38 MB / 1.054 GB, free: 49.78 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.7521, allocations: 14.66 MB / 1.068 GB, free: 37.24 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/0.7545, allocations: 46.56 kB / 1.068 GB, free: 37.22 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.7562, allocations: 294.8 kB / 1.069 GB, free: 37.06 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006606/0.7628, allocations: 1.615 MB / 1.07 GB, free: 36.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.7656, allocations: 0.6831 MB / 1.071 GB, free: 35.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005363/0.771, allocations: 3.399 MB / 1.074 GB, free: 34.51 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004444/0.7755, allocations: 2.957 MB / 1.077 GB, free: 32.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.7784, allocations: 1.332 MB / 1.078 GB, free: 31.91 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.7807, allocations: 1.075 MB / 1.079 GB, free: 31.5 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006158/0.7813, allocations: 68.59 kB / 1.079 GB, free: 31.5 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.7837, allocations: 0.8217 MB / 1.08 GB, free: 31.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009635/0.7847, allocations: 0.4969 MB / 1.081 GB, free: 31.04 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002186/0.7869, allocations: 0.8629 MB / 1.082 GB, free: 30.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00445/0.7914, allocations: 2.67 MB / 1.084 GB, free: 29.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.7914, allocations: 0 / 1.084 GB, free: 29.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7914, allocations: 0 / 1.084 GB, free: 29.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001304/0.7915, allocations: 4 kB / 1.084 GB, free: 29.77 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005548/0.7971, allocations: 1.845 MB / 1.086 GB, free: 28.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.7972, allocations: 9.625 kB / 1.086 GB, free: 28.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.808, allocations: 2.169 MB / 1.088 GB, free: 28.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/0.8117, allocations: 1.214 MB / 1.089 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.8118, allocations: 90.08 kB / 1.089 GB, free: 27.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005771/0.8124, allocations: 114.5 kB / 1.09 GB, free: 27.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006441/0.8189, allocations: 2.685 MB / 1.092 GB, free: 26.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/0.819, allocations: 17.78 kB / 1.092 GB, free: 26.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.8191, allocations: 54.89 kB / 1.092 GB, free: 26.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005991/0.8197, allocations: 191.6 kB / 1.092 GB, free: 26.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007334/0.8271, allocations: 2.834 MB / 1.095 GB, free: 25.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/0.8421, allocations: 10.56 MB / 1.105 GB, free: 18.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00606/0.8482, allocations: 2.384 MB / 1.108 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/0.8512, allocations: 1.295 MB / 1.109 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.144e-05/0.8513, allocations: 17.44 kB / 1.109 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.8514, allocations: 42.81 kB / 1.109 GB, free: 17.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=89): time 2.825e-06/0.8514, allocations: 1.281 kB / 1.109 GB, free: 17.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=153): time 0.05825/0.9096, allocations: 16.51 MB / 1.125 GB, free: 12.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.9097, allocations: 68.72 kB / 1.125 GB, free: 12.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.9118, allocations: 1.163 MB / 1.126 GB, free: 11.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002348/0.9121, allocations: 53.64 kB / 1.126 GB, free: 11.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005671/0.9126, allocations: 0.7411 MB / 1.127 GB, free: 10.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006328/0.9133, allocations: 0.5163 MB / 1.128 GB, free: 10.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.9135, allocations: 28 kB / 1.128 GB, free: 10.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.9136, allocations: 368.1 kB / 1.128 GB, free: 9.668 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/0.9169, allocations: 1.529 MB / 1.13 GB, free: 8.469 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/0.9205, allocations: 1.797 MB / 1.131 GB, free: 6.926 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00624/0.9267, allocations: 3.407 MB / 1.135 GB, free: 3.555 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.9267, allocations: 0 / 1.135 GB, free: 3.555 MB / 0.698 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01226/0.939, allocations: 5.3 MB / 1.14 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.9391, allocations: 12.16 kB / 1.14 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.9391, allocations: 8 kB / 1.14 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007217/0.9463, allocations: 1.883 MB / 1.142 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.9485, allocations: 431.2 kB / 1.142 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03219/0.9807, allocations: 22.15 MB / 1.164 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003408/0.9841, allocations: 315.5 kB / 1.164 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005683/0.9847, allocations: 63.97 kB / 1.164 GB, free: 4.277 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (3,15,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001525/0.9863, allocations: 468.5 kB / 1.165 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006647/0.987, allocations: 173.9 kB / 1.165 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/1.002, allocations: 5.355 MB / 1.17 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/1.002, allocations: 20 kB / 1.17 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.376e-05/1.002, allocations: 16 kB / 1.17 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/1.002, allocations: 7.969 kB / 1.17 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.02, allocations: 7.461 MB / 1.177 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/1.02, allocations: 7.938 kB / 1.177 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.022, allocations: 363.7 kB / 1.178 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006082/1.028, allocations: 1.704 MB / 1.179 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00028/1.028, allocations: 43.97 kB / 1.179 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02582/1.054, allocations: 21.34 MB / 1.2 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.054, allocations: 4.125 kB / 1.2 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/1.066, allocations: 4.924 MB / 1.205 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.067, allocations: 498.8 kB / 1.205 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/1.068, allocations: 24 kB / 1.205 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/1.07, allocations: 335.4 kB / 1.206 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006146/1.071, allocations: 153 kB / 1.206 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.071, allocations: 55.97 kB / 1.206 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001128/1.072, allocations: 0.7782 MB / 1.207 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/1.072, allocations: 0 / 1.207 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002498/1.074, allocations: 0.6523 MB / 1.207 GB, free: 6.566 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003082/1.075, allocations: 151.2 kB / 1.208 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.086, allocations: 5.178 MB / 1.213 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.086, allocations: 0 / 1.213 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.007063/1.093, allocations: 3.37 MB / 1.216 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/1.096, allocations: 0.5141 MB / 1.216 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008431/1.105, allocations: 5.025 MB / 1.221 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.106, allocations: 1.568 MB / 1.223 GB, free: 6.457 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001673/1.108, allocations: 390.4 kB / 1.223 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/1.108, allocations: 107.4 kB / 1.223 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of SimCode: time 7.41e-07/1.108, allocations: 3.938 kB / 1.223 GB, free: 5.961 MB / 0.7917 GB Notification: Performance of Templates: time 0.06802/1.176, allocations: 42.45 MB / 1.265 GB, free: 11.72 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)