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.ACLine_RL.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.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.814/1.814, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.0009296/0.0009296, allocations: 183.2 kB / 393.1 MB, free: 4.086 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.411/1.411, allocations: 225.7 MB / 0.6743 GB, free: 12.52 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.0008324/0.0008321, allocations: 100.7 kB / 0.7935 GB, free: 40.18 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004234, allocations: 8 kB / 0.9224 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6436/0.644, allocations: 121.3 MB / 1.041 GB, free: 58.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005433/0.6495, allocations: 4.947 MB / 1.046 GB, free: 55.47 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004418/0.654, allocations: 4.146 MB / 1.05 GB, free: 51.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005448/0.6546, allocations: 22.22 kB / 1.05 GB, free: 51.79 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.6549, allocations: 103.8 kB / 1.05 GB, free: 51.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.656, allocations: 387.5 kB / 1.05 GB, free: 51.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.6571, allocations: 370.1 kB / 1.051 GB, free: 51.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.6583, allocations: 1.248 MB / 1.052 GB, free: 50.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.6596, allocations: 1.157 MB / 1.053 GB, free: 50 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005603/0.6602, allocations: 314.6 kB / 1.053 GB, free: 49.88 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000578/0.6608, allocations: 385.9 kB / 1.054 GB, free: 49.74 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.6608, allocations: 28.72 kB / 1.054 GB, free: 49.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008511/0.6617, allocations: 415.4 kB / 1.054 GB, free: 49.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.662, allocations: 221.3 kB / 1.054 GB, free: 49.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.6623, allocations: 341.1 kB / 1.055 GB, free: 49.31 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.6633, allocations: 0.9641 MB / 1.056 GB, free: 49.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6633, allocations: 0 / 1.056 GB, free: 49.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6633, allocations: 0 / 1.056 GB, free: 49.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.6634, allocations: 0 / 1.056 GB, free: 49.02 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001239/0.6646, allocations: 0.8483 MB / 1.056 GB, free: 48.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6646, allocations: 10.66 kB / 1.056 GB, free: 48.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.6659, allocations: 200 kB / 1.057 GB, free: 48.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007105/0.6667, allocations: 493.5 kB / 1.057 GB, free: 47.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.6667, allocations: 45.36 kB / 1.057 GB, free: 47.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.6669, allocations: 58.08 kB / 1.057 GB, free: 47.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.668, allocations: 0.825 MB / 1.058 GB, free: 47.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.668, allocations: 2.25 kB / 1.058 GB, free: 47.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.668, allocations: 23.17 kB / 1.058 GB, free: 47.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.6682, allocations: 73.84 kB / 1.058 GB, free: 47.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008067/0.669, allocations: 0.5622 MB / 1.059 GB, free: 47.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003626/0.6727, allocations: 4.595 MB / 1.063 GB, free: 43.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.6731, allocations: 293.2 kB / 1.063 GB, free: 43.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.6734, allocations: 227.7 kB / 1.064 GB, free: 43.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.6734, allocations: 3.344 kB / 1.064 GB, free: 43.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.6735, allocations: 42.16 kB / 1.064 GB, free: 43.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.6735, allocations: 0 / 1.064 GB, free: 43.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.004976/0.6785, allocations: 2.628 MB / 1.066 GB, free: 41.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.6785, allocations: 58.12 kB / 1.066 GB, free: 41.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.6789, allocations: 463.8 kB / 1.067 GB, free: 41.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.679, allocations: 29.7 kB / 1.067 GB, free: 41.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.6791, allocations: 349.3 kB / 1.067 GB, free: 41.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.6792, allocations: 144.6 kB / 1.067 GB, free: 40.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.6793, allocations: 11.09 kB / 1.067 GB, free: 40.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6794, allocations: 364.7 kB / 1.068 GB, free: 40.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.6797, allocations: 232.2 kB / 1.068 GB, free: 40.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.6801, allocations: 406 kB / 1.068 GB, free: 40.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.6808, allocations: 0.6759 MB / 1.069 GB, free: 39.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6808, allocations: 3.938 kB / 1.069 GB, free: 39.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001454/0.6823, allocations: 0.9217 MB / 1.07 GB, free: 39.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.6823, allocations: 6.469 kB / 1.07 GB, free: 39.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6823, allocations: 10.44 kB / 1.07 GB, free: 39.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007368/0.6831, allocations: 224 kB / 1.07 GB, free: 39.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.6836, allocations: 113.3 kB / 1.07 GB, free: 39.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003817/0.6874, allocations: 4.943 MB / 1.075 GB, free: 35.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.688, allocations: 31.11 kB / 1.075 GB, free: 35.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.688, allocations: 23.53 kB / 1.075 GB, free: 35.01 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000426/0.6884, allocations: 227.7 kB / 1.075 GB, free: 34.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.189e-05/0.6885, allocations: 53.97 kB / 1.075 GB, free: 34.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.69, allocations: 0.776 MB / 1.076 GB, free: 34.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.69, allocations: 3.188 kB / 1.076 GB, free: 34.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.69, allocations: 3.312 kB / 1.076 GB, free: 34.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.69, allocations: 3.422 kB / 1.076 GB, free: 34.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.6922, allocations: 1.494 MB / 1.077 GB, free: 33.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.6923, allocations: 7.531 kB / 1.077 GB, free: 33.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.6927, allocations: 72.88 kB / 1.077 GB, free: 33.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006326/0.6933, allocations: 201.7 kB / 1.078 GB, free: 33.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.6934, allocations: 14.25 kB / 1.078 GB, free: 33.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00344/0.6968, allocations: 4.87 MB / 1.082 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6968, allocations: 2.719 kB / 1.082 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.6983, allocations: 1.148 MB / 1.084 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.6986, allocations: 169.8 kB / 1.084 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.6986, allocations: 10.47 kB / 1.084 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.6989, allocations: 24.61 kB / 1.084 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/0.699, allocations: 41.25 kB / 1.084 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.6991, allocations: 17.81 kB / 1.084 GB, free: 28.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003277/0.6994, allocations: 311.7 kB / 1.084 GB, free: 28.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6994, allocations: 0 / 1.084 GB, free: 28.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006663/0.7001, allocations: 168.9 kB / 1.084 GB, free: 28.39 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001803/0.7003, allocations: 123.8 kB / 1.084 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.7016, allocations: 1 MB / 1.085 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7017, allocations: 3.344 kB / 1.085 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008041/0.7025, allocations: 0.6792 MB / 1.086 GB, free: 27.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009343/0.7034, allocations: 170.9 kB / 1.086 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.7054, allocations: 1.553 MB / 1.088 GB, free: 26.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.7058, allocations: 0.9441 MB / 1.089 GB, free: 25.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003887/0.7062, allocations: 118.6 kB / 1.089 GB, free: 25.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-05/0.7063, allocations: 37.47 kB / 1.089 GB, free: 25.46 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/0.7063, allocations: 0 / 1.089 GB, free: 25.46 MB / 0.698 GB Notification: Performance of Templates: time 0.0156/0.7219, allocations: 8.42 MB / 1.097 GB, free: 24.93 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)