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.ACLineMatrix_RLC.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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.794/1.794, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.001077/0.001077, allocations: 179.5 kB / 393.1 MB, free: 4.07 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.49/1.49, allocations: 225.7 MB / 0.6743 GB, free: 12.62 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.0008231/0.0008234, allocations: 90.16 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003515, allocations: 15.55 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6771/0.6774, allocations: 121.3 MB / 1.041 GB, free: 58.72 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009747/0.6872, allocations: 9.132 MB / 1.05 GB, free: 52.6 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006208/0.6935, allocations: 4.236 MB / 1.054 GB, free: 49.01 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007754/0.6943, allocations: 28.53 kB / 1.054 GB, free: 49 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005344/0.6949, allocations: 182.1 kB / 1.054 GB, free: 48.9 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.6963, allocations: 0.6642 MB / 1.055 GB, free: 48.54 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.6975, allocations: 0.5396 MB / 1.055 GB, free: 48.26 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004053/0.7016, allocations: 4.067 MB / 1.059 GB, free: 47 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004231/0.7058, allocations: 4.157 MB / 1.063 GB, free: 44.39 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.7074, allocations: 0.8757 MB / 1.064 GB, free: 44.06 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.709, allocations: 1.268 MB / 1.065 GB, free: 43.63 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.7092, allocations: 102.4 kB / 1.066 GB, free: 43.63 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009755/0.7101, allocations: 435 kB / 1.066 GB, free: 43.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000812/0.711, allocations: 0.8275 MB / 1.067 GB, free: 43.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007993/0.7118, allocations: 0.8677 MB / 1.068 GB, free: 42.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.7143, allocations: 3.256 MB / 1.071 GB, free: 42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7143, allocations: 4 kB / 1.071 GB, free: 41.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7143, allocations: 0 / 1.071 GB, free: 41.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.379e-05/0.7144, allocations: 3.125 kB / 1.071 GB, free: 41.99 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002748/0.7172, allocations: 1.602 MB / 1.072 GB, free: 41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7172, allocations: 9.812 kB / 1.072 GB, free: 41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/0.7221, allocations: 0.8879 MB / 1.073 GB, free: 40.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.7239, allocations: 1.117 MB / 1.074 GB, free: 40.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.221e-05/0.724, allocations: 111.1 kB / 1.074 GB, free: 40.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/0.7243, allocations: 142.3 kB / 1.075 GB, free: 40.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/0.7294, allocations: 3.004 MB / 1.078 GB, free: 38.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.7295, allocations: 6.969 kB / 1.078 GB, free: 38.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.7297, allocations: 67.56 kB / 1.078 GB, free: 38.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.7299, allocations: 176.4 kB / 1.078 GB, free: 38.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004331/0.7342, allocations: 2.596 MB / 1.08 GB, free: 38.03 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.7489, allocations: 13.53 MB / 1.093 GB, free: 28.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.751, allocations: 1.29 MB / 1.095 GB, free: 27.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.7524, allocations: 1.05 MB / 1.096 GB, free: 27.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.7524, allocations: 8.219 kB / 1.096 GB, free: 27.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.7525, allocations: 38.81 kB / 1.096 GB, free: 27.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.607e-06/0.7525, allocations: 0.9688 kB / 1.096 GB, free: 27.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=139): time 0.06866/0.8211, allocations: 19.44 MB / 1.115 GB, free: 22.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.8212, allocations: 65.28 kB / 1.115 GB, free: 22.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.8226, allocations: 0.9137 MB / 1.116 GB, free: 21.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.8227, allocations: 53.58 kB / 1.116 GB, free: 21.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.8232, allocations: 0.7343 MB / 1.117 GB, free: 20.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.8236, allocations: 488.6 kB / 1.117 GB, free: 20.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.8237, allocations: 28 kB / 1.117 GB, free: 20.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.8238, allocations: 419.6 kB / 1.117 GB, free: 19.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.8256, allocations: 1.335 MB / 1.119 GB, free: 18.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.8275, allocations: 1.647 MB / 1.12 GB, free: 17.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/0.8311, allocations: 3.08 MB / 1.123 GB, free: 14.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.8311, allocations: 4 kB / 1.123 GB, free: 14.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01115/0.8423, allocations: 5.622 MB / 1.129 GB, free: 9.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.8423, allocations: 12 kB / 1.129 GB, free: 9.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.8423, allocations: 13.06 kB / 1.129 GB, free: 9.887 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00767/0.85, allocations: 2.711 MB / 1.132 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/0.8509, allocations: 191.7 kB / 1.132 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03095/0.8818, allocations: 23.3 MB / 1.154 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.8836, allocations: 99.94 kB / 1.155 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.8837, allocations: 56 kB / 1.155 GB, free: 14.97 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001386/0.8851, allocations: 0.7342 MB / 1.155 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.8854, allocations: 114.6 kB / 1.155 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.896, allocations: 5.38 MB / 1.161 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/0.8961, allocations: 19.94 kB / 1.161 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-05/0.8961, allocations: 16 kB / 1.161 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.8962, allocations: 7.984 kB / 1.161 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.9119, allocations: 8.611 MB / 1.169 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.9119, allocations: 4.453 kB / 1.169 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.9124, allocations: 116.7 kB / 1.169 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007805/0.9202, allocations: 2.55 MB / 1.172 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.9204, allocations: 24 kB / 1.172 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02899/0.9494, allocations: 20.86 MB / 1.192 GB, free: 7.836 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.9495, allocations: 4 kB / 1.192 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/0.9602, allocations: 5.119 MB / 1.197 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/0.9614, allocations: 483.5 kB / 1.198 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.9616, allocations: 27.19 kB / 1.198 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008292/0.9625, allocations: 83.89 kB / 1.198 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006768/0.9632, allocations: 117 kB / 1.198 GB, free: 1.922 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.9633, allocations: 36 kB / 1.198 GB, free: 1.887 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008958/0.9642, allocations: 0.6395 MB / 1.198 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9642, allocations: 0 / 1.198 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002617/0.9668, allocations: 0.715 MB / 1.199 GB, free: 0.5352 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002657/0.9671, allocations: 152.5 kB / 1.199 GB, free: 388 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006804/0.9739, allocations: 4.142 MB / 1.203 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.9739, allocations: 0 / 1.203 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004817/0.9788, allocations: 2.658 MB / 1.206 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.9804, allocations: 215 kB / 1.206 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006008/0.9864, allocations: 4.68 MB / 1.211 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.9879, allocations: 1.704 MB / 1.212 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0007926/0.9887, allocations: 329.4 kB / 1.213 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.9889, allocations: 55.44 kB / 1.213 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of SimCode: time 9.31e-07/0.9889, allocations: 4 kB / 1.213 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of Templates: time 0.05599/1.045, allocations: 36.68 MB / 1.249 GB, free: 13.83 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)