Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.07/2.07, allocations: 306.1 MB / 321.4 MB, free: 10.76 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.000985/0.0009849, allocations: 187.5 kB / 393.1 MB, free: 4.094 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.429/1.429, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0008837/0.000884, allocations: 95.06 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 12 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.6031, allocations: 121.3 MB / 1.041 GB, free: 58.46 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03138/0.6346, allocations: 34.99 MB / 1.075 GB, free: 35 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.6513, allocations: 13.95 MB / 1.089 GB, free: 23.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003978/0.6553, allocations: 130.8 kB / 1.089 GB, free: 23.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.6582, allocations: 0.7782 MB / 1.09 GB, free: 23.21 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006688/0.6649, allocations: 2.096 MB / 1.092 GB, free: 21.95 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005131/0.6701, allocations: 1.786 MB / 1.093 GB, free: 20.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01366/0.6837, allocations: 13.17 MB / 1.106 GB, free: 16.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02329/0.7071, allocations: 20.48 MB / 1.126 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006845/0.714, allocations: 2.911 MB / 1.129 GB, free: 1.602 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008133/0.7221, allocations: 3.839 MB / 1.133 GB, free: 188 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002196/0.7244, allocations: 369.2 kB / 1.133 GB, free: 0 / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005308/0.7297, allocations: 1.302 MB / 1.134 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.004917/0.7347, allocations: 2.477 MB / 1.137 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.006048/0.7407, allocations: 2.962 MB / 1.14 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01516/0.7559, allocations: 11.69 MB / 1.151 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.756, allocations: 3.938 kB / 1.151 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.404e-06/0.756, allocations: 0 / 1.151 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004097/0.7564, allocations: 0 / 1.151 GB, free: 2.902 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01325/0.7696, allocations: 5.078 MB / 1.156 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.7697, allocations: 12.03 kB / 1.156 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006273/0.776, allocations: 1.075 MB / 1.157 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006929/0.7829, allocations: 3.419 MB / 1.161 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/0.7834, allocations: 423.7 kB / 1.161 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/0.7853, allocations: 0.5471 MB / 1.161 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.806, allocations: 9.335 MB / 1.171 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/0.8062, allocations: 19.78 kB / 1.171 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009062/0.8071, allocations: 248 kB / 1.171 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005969/0.8077, allocations: 422.9 kB / 1.171 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.8226, allocations: 7.08 MB / 1.178 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04984/0.8725, allocations: 41.37 MB / 1.219 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004615/0.8771, allocations: 3.088 MB / 1.222 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/0.8801, allocations: 2.129 MB / 1.224 GB, free: 4.453 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.8802, allocations: 25.98 kB / 1.224 GB, free: 4.43 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.668e-05/0.8803, allocations: 60.56 kB / 1.224 GB, free: 4.359 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=209): time 3.748e-06/0.8803, allocations: 0 / 1.224 GB, free: 4.359 MB / 0.7917 GB Notification: Performance of matching and sorting (n=212): time 0.02385/0.9041, allocations: 10.59 MB / 1.234 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.9042, allocations: 77.34 kB / 1.234 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.9071, allocations: 1.978 MB / 1.236 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.9074, allocations: 61.7 kB / 1.236 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.9089, allocations: 2.408 MB / 1.238 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007423/0.9097, allocations: 0.7279 MB / 1.239 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.9098, allocations: 52 kB / 1.239 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.91, allocations: 415.4 kB / 1.24 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.9121, allocations: 1.364 MB / 1.241 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/0.9146, allocations: 2.104 MB / 1.243 GB, free: 92 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005032/0.9196, allocations: 3.75 MB / 1.247 GB, free: 12.03 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.9197, allocations: 8 kB / 1.247 GB, free: 12.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008352/0.9281, allocations: 5.04 MB / 1.252 GB, free: 6.957 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.9281, allocations: 20.91 kB / 1.252 GB, free: 6.938 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.9282, allocations: 20 kB / 1.252 GB, free: 6.918 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/0.9317, allocations: 1.558 MB / 1.253 GB, free: 5.352 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.9334, allocations: 455.2 kB / 1.254 GB, free: 4.906 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/0.9547, allocations: 17.07 MB / 1.27 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/0.9572, allocations: 143.9 kB / 1.27 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.9574, allocations: 112 kB / 1.271 GB, free: 3.062 MB / 0.8386 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,32,69.4%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003968/0.9614, allocations: 1.95 MB / 1.272 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006385/0.962, allocations: 288.7 kB / 1.273 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007066/0.9691, allocations: 4.443 MB / 1.277 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.9692, allocations: 20 kB / 1.277 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.106e-05/0.9692, allocations: 16 kB / 1.277 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.9692, allocations: 11.97 kB / 1.277 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.985, allocations: 9.64 MB / 1.287 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.985, allocations: 4 kB / 1.287 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009889/0.986, allocations: 236.2 kB / 1.287 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003169/0.9892, allocations: 1.43 MB / 1.288 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.9894, allocations: 40 kB / 1.288 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01997/1.009, allocations: 17.09 MB / 1.305 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.009, allocations: 11.94 kB / 1.305 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007265/1.017, allocations: 4.521 MB / 1.309 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/1.018, allocations: 0.6304 MB / 1.31 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/1.018, allocations: 47.92 kB / 1.31 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.02, allocations: 115.9 kB / 1.31 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005224/1.02, allocations: 181.6 kB / 1.31 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.02, allocations: 63.94 kB / 1.31 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001876/1.022, allocations: 1.292 MB / 1.312 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.61e-07/1.022, allocations: 0 / 1.312 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003119/1.025, allocations: 1.145 MB / 1.313 GB, free: 7.055 MB / 0.8855 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003172/1.026, allocations: 172.5 kB / 1.313 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007052/1.033, allocations: 4.664 MB / 1.317 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/1.033, allocations: 4 kB / 1.317 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004309/1.037, allocations: 2.922 MB / 1.32 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005001/1.042, allocations: 0.827 MB / 1.321 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/1.059, allocations: 11.77 MB / 1.333 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4258/1.485, allocations: 3.689 MB / 1.336 GB, free: 235.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002509/1.488, allocations: 0.5487 MB / 1.337 GB, free: 235.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/1.488, allocations: 148 kB / 1.337 GB, free: 235.2 MB / 0.9011 GB Notification: Performance of SimCode: time 7.52e-07/1.488, allocations: 0.6562 kB / 1.337 GB, free: 235.2 MB / 0.9011 GB Notification: Performance of Templates: time 0.093/1.581, allocations: 50.16 MB / 1.386 GB, free: 226.9 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)