Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 255.9 MB / 271.2 MB, free: 8.895 MB / 218.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.001369/0.001369, allocations: 182.2 kB / 330.8 MB, free: 464 kB / 250.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.715/1.715, allocations: 225.7 MB / 0.6016 GB, free: 1.602 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008198/0.0008198, allocations: 100.1 kB / 0.709 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005237, allocations: 13.19 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 109.2 MB / 0.9328 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03685/0.2459, allocations: 34.97 MB / 0.9669 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02102/0.267, allocations: 13.95 MB / 0.9805 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004204/0.2712, allocations: 135.2 kB / 0.9807 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.2746, allocations: 0.7752 MB / 0.9814 GB, free: 3.516 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006649/0.2813, allocations: 2.084 MB / 0.9835 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005406/0.2868, allocations: 1.802 MB / 0.9852 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01552/0.3023, allocations: 13.18 MB / 0.9981 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4752/0.7775, allocations: 20.47 MB / 1.018 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007207/0.7848, allocations: 2.914 MB / 1.021 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008709/0.7935, allocations: 3.846 MB / 1.025 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00311/0.7967, allocations: 349.2 kB / 1.025 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006698/0.8034, allocations: 1.293 MB / 1.026 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.006666/0.8101, allocations: 2.492 MB / 1.029 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.01143/0.8216, allocations: 2.958 MB / 1.032 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02088/0.8425, allocations: 11.68 MB / 1.043 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.8426, allocations: 1.281 kB / 1.043 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.325e-06/0.8426, allocations: 0 / 1.043 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0006262/0.8432, allocations: 0 / 1.043 GB, free: 8.824 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01924/0.8625, allocations: 5.079 MB / 1.048 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.8626, allocations: 13.39 kB / 1.048 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007617/0.8702, allocations: 1.076 MB / 1.049 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009578/0.8798, allocations: 3.428 MB / 1.052 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005642/0.8804, allocations: 422.7 kB / 1.053 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00287/0.8833, allocations: 0.544 MB / 1.053 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0283/0.9116, allocations: 9.331 MB / 1.062 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003381/0.912, allocations: 27.59 kB / 1.062 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002695/0.9147, allocations: 246.2 kB / 1.063 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007761/0.9155, allocations: 418 kB / 1.063 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01877/0.9343, allocations: 7.08 MB / 1.07 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0603/0.9946, allocations: 41.37 MB / 1.11 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005194/0.9999, allocations: 3.09 MB / 1.113 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/1.003, allocations: 2.121 MB / 1.115 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/1.003, allocations: 22 kB / 1.116 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/1.003, allocations: 62.53 kB / 1.116 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=209): time 4.789e-06/1.003, allocations: 0 / 1.116 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=212): time 0.02655/1.03, allocations: 10.58 MB / 1.126 GB, free: 6.664 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/1.03, allocations: 77.34 kB / 1.126 GB, free: 6.578 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/1.034, allocations: 1.986 MB / 1.128 GB, free: 4.574 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002991/1.034, allocations: 65.7 kB / 1.128 GB, free: 4.504 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001637/1.036, allocations: 2.403 MB / 1.13 GB, free: 2.078 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009002/1.037, allocations: 0.7277 MB / 1.131 GB, free: 1.355 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/1.037, allocations: 56 kB / 1.131 GB, free: 1.301 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002178/1.037, allocations: 415.4 kB / 1.131 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/1.039, allocations: 1.362 MB / 1.133 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/1.042, allocations: 2.098 MB / 1.135 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005092/1.047, allocations: 3.742 MB / 1.139 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/1.047, allocations: 8 kB / 1.139 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008802/1.056, allocations: 5.048 MB / 1.143 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/1.056, allocations: 19.89 kB / 1.143 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.869e-05/1.056, allocations: 24.09 kB / 1.143 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003567/1.06, allocations: 1.555 MB / 1.145 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.062, allocations: 451.8 kB / 1.145 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/1.082, allocations: 17.08 MB / 1.162 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/1.085, allocations: 143.9 kB / 1.162 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006313/1.086, allocations: 112 kB / 1.162 GB, free: 452 kB / 0.7292 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.004987/1.091, allocations: 1.943 MB / 1.164 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000891/1.092, allocations: 292.7 kB / 1.165 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007746/1.1, allocations: 4.431 MB / 1.169 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/1.1, allocations: 27.94 kB / 1.169 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-05/1.1, allocations: 20 kB / 1.169 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/1.1, allocations: 18.52 kB / 1.169 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02376/1.123, allocations: 9.645 MB / 1.178 GB, free: 96 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/1.124, allocations: 4.812 kB / 1.178 GB, free: 92 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.125, allocations: 234.4 kB / 1.179 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003602/1.128, allocations: 1.436 MB / 1.18 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/1.129, allocations: 40 kB / 1.18 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02264/1.151, allocations: 17.07 MB / 1.197 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.151, allocations: 6.625 kB / 1.197 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007603/1.159, allocations: 4.529 MB / 1.201 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/1.161, allocations: 0.6343 MB / 1.202 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005221/1.161, allocations: 40 kB / 1.202 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.163, allocations: 115.9 kB / 1.202 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006272/1.163, allocations: 180.5 kB / 1.202 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.164, allocations: 56 kB / 1.202 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002014/1.166, allocations: 1.302 MB / 1.203 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.31e-07/1.166, allocations: 0 / 1.203 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004429/1.17, allocations: 1.141 MB / 1.205 GB, free: 4.793 MB / 0.7761 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.0004349/1.17, allocations: 174.6 kB / 1.205 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007668/1.178, allocations: 4.67 MB / 1.209 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.178, allocations: 1 kB / 1.209 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004914/1.183, allocations: 2.92 MB / 1.212 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006932/1.19, allocations: 0.8267 MB / 1.213 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/1.211, allocations: 11.75 MB / 1.224 GB, free: 404 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005277/1.216, allocations: 3.694 MB / 1.228 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002395/1.219, allocations: 0.5672 MB / 1.229 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/1.219, allocations: 147.4 kB / 1.229 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of SimCode: time 8.71e-07/1.219, allocations: 0 / 1.229 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of Templates: time 0.09512/1.314, allocations: 50.14 MB / 1.278 GB, free: 10.05 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)