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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") 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.441/1.441, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.0009338/0.0009338, allocations: 181 kB / 330.8 MB, free: 456 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.593/1.593, allocations: 225.7 MB / 0.6016 GB, free: 15.87 MB / 442.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.0008023/0.0008025, allocations: 103.5 kB / 0.709 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 8.75 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1974, allocations: 109.2 MB / 0.9328 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02324/0.2207, allocations: 28.24 MB / 0.9603 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02124/0.242, allocations: 19.14 MB / 0.979 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003169/0.2452, allocations: 127.2 kB / 0.9792 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002842/0.2481, allocations: 0.6473 MB / 0.9798 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008175/0.2563, allocations: 2.46 MB / 0.9822 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005065/0.2614, allocations: 1.708 MB / 0.9839 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01193/0.2733, allocations: 10.41 MB / 0.994 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01868/0.2921, allocations: 14.19 MB / 1.008 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005767/0.2979, allocations: 2.627 MB / 1.01 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004922/0.3028, allocations: 2.919 MB / 1.013 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.3041, allocations: 244 kB / 1.014 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003659/0.3077, allocations: 1.333 MB / 1.015 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.4334/0.7411, allocations: 1.873 MB / 1.017 GB, free: 36.62 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.006364/0.7475, allocations: 2.372 MB / 1.019 GB, free: 36.4 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.7623, allocations: 9.017 MB / 1.028 GB, free: 35.58 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.7623, allocations: 0.7031 kB / 1.028 GB, free: 35.58 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7623, allocations: 0.5625 kB / 1.028 GB, free: 35.58 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003812/0.7627, allocations: 0 / 1.028 GB, free: 35.58 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01586/0.7786, allocations: 4.152 MB / 1.032 GB, free: 33.69 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.7786, allocations: 17.3 kB / 1.032 GB, free: 33.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00802/0.7867, allocations: 0.9978 MB / 1.033 GB, free: 33.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00878/0.7955, allocations: 2.893 MB / 1.036 GB, free: 32.74 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/0.7959, allocations: 315.1 kB / 1.036 GB, free: 32.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002578/0.7985, allocations: 422.3 kB / 1.036 GB, free: 32.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02281/0.8213, allocations: 6.757 MB / 1.043 GB, free: 31.87 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002043/0.8215, allocations: 22.56 kB / 1.043 GB, free: 31.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009554/0.8225, allocations: 186.4 kB / 1.043 GB, free: 31.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009339/0.8235, allocations: 371.8 kB / 1.044 GB, free: 31.85 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.8375, allocations: 5.085 MB / 1.048 GB, free: 31.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0419/0.8794, allocations: 30.76 MB / 1.079 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.8817, allocations: 1.382 MB / 1.08 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.8837, allocations: 1.33 MB / 1.081 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.091e-05/0.8838, allocations: 14.38 kB / 1.081 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.8838, allocations: 52.5 kB / 1.081 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=130): time 3.968e-06/0.8838, allocations: 0 / 1.081 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=199): time 0.07947/0.9633, allocations: 22.79 MB / 1.103 GB, free: 15 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.9634, allocations: 69.41 kB / 1.104 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.9668, allocations: 2.035 MB / 1.106 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004146/0.9672, allocations: 61.7 kB / 1.106 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.9686, allocations: 2.01 MB / 1.108 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007492/0.9694, allocations: 0.6811 MB / 1.108 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.9695, allocations: 51.94 kB / 1.108 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.9697, allocations: 398.5 kB / 1.109 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.9717, allocations: 1.422 MB / 1.11 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.9741, allocations: 2.002 MB / 1.112 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004709/0.9788, allocations: 3.679 MB / 1.116 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.9789, allocations: 8 kB / 1.116 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01184/0.9907, allocations: 5.636 MB / 1.121 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.9908, allocations: 19.94 kB / 1.121 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.9908, allocations: 23.28 kB / 1.121 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006999/0.9978, allocations: 2.084 MB / 1.123 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.9996, allocations: 380 kB / 1.124 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03674/1.036, allocations: 35.5 MB / 1.158 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/1.039, allocations: 131.9 kB / 1.158 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/1.04, allocations: 88.09 kB / 1.158 GB, free: 4.137 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003559/1.043, allocations: 1.511 MB / 1.16 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006941/1.044, allocations: 280.7 kB / 1.16 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.054, allocations: 5.2 MB / 1.165 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/1.054, allocations: 20 kB / 1.165 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.213e-05/1.054, allocations: 20 kB / 1.165 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/1.054, allocations: 7.969 kB / 1.165 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02348/1.078, allocations: 9.658 MB / 1.175 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/1.078, allocations: 4 kB / 1.175 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/1.079, allocations: 219.1 kB / 1.175 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006355/1.085, allocations: 1.842 MB / 1.177 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004268/1.086, allocations: 43.94 kB / 1.177 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0379/1.124, allocations: 34.53 MB / 1.21 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/1.124, allocations: 11.94 kB / 1.211 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.134, allocations: 4.894 MB / 1.215 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/1.137, allocations: 0.6186 MB / 1.216 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.138, allocations: 43.98 kB / 1.216 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/1.14, allocations: 127.8 kB / 1.216 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/1.141, allocations: 194.1 kB / 1.216 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003437/1.142, allocations: 55.98 kB / 1.216 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003201/1.145, allocations: 1.359 MB / 1.218 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.81e-07/1.145, allocations: 0 / 1.218 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.006125/1.151, allocations: 1.035 MB / 1.219 GB, free: 4.066 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005424/1.152, allocations: 181.5 kB / 1.219 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01096/1.163, allocations: 6.253 MB / 1.225 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/1.163, allocations: 0.5625 kB / 1.225 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.007417/1.17, allocations: 4.402 MB / 1.229 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008541/1.179, allocations: 0.9199 MB / 1.23 GB, free: 7.988 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/1.2, allocations: 10.04 MB / 1.24 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006324/1.206, allocations: 3.121 MB / 1.243 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002816/1.209, allocations: 0.5276 MB / 1.243 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006222/1.21, allocations: 143.4 kB / 1.244 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/1.21, allocations: 1.5 kB / 1.244 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.1233/1.333, allocations: 56.99 MB / 1.299 GB, free: 1.43 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)