Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.23/2.23, allocations: 254.9 MB / 269.9 MB, free: 9.621 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.001438/0.001438, allocations: 200.8 kB / 329.5 MB, free: 1.156 MB / 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 2.505/2.505, allocations: 225.6 MB / 0.6001 GB, free: 3.656 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.00102/0.00102, allocations: 98.03 kB / 0.7074 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007223/0.0007227, allocations: 11.97 kB / 0.8242 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2298, allocations: 109.1 MB / 0.9308 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01282/0.2427, allocations: 9.015 MB / 0.9396 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006289/0.249, allocations: 2.886 MB / 0.9424 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009318/0.25, allocations: 31.81 kB / 0.9424 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006373/0.2507, allocations: 178.7 kB / 0.9426 GB, free: 31.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.2526, allocations: 0.5756 MB / 0.9432 GB, free: 30.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.2543, allocations: 447.2 kB / 0.9436 GB, free: 30.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003996/0.2583, allocations: 3.182 MB / 0.9467 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005653/0.264, allocations: 2.785 MB / 0.9494 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.2659, allocations: 0.8679 MB / 0.9503 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.2684, allocations: 1.246 MB / 0.9515 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004308/0.2689, allocations: 100 kB / 0.9516 GB, free: 22.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.2701, allocations: 247.8 kB / 0.9518 GB, free: 21.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.2712, allocations: 0.8457 MB / 0.9526 GB, free: 20.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.2718, allocations: 348.9 kB / 0.953 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004673/0.2764, allocations: 2.798 MB / 0.9557 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.2765, allocations: 0 / 0.9557 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2765, allocations: 0 / 0.9557 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.191e-05/0.2766, allocations: 0 / 0.9557 GB, free: 17.84 MB / 0.6042 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.004593/0.2812, allocations: 1.616 MB / 0.9573 GB, free: 16.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2813, allocations: 8.031 kB / 0.9573 GB, free: 16.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009482/0.2908, allocations: 0.8961 MB / 0.9582 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.2939, allocations: 1.099 MB / 0.9592 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-05/0.294, allocations: 111.3 kB / 0.9593 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004787/0.2945, allocations: 140.3 kB / 0.9595 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006823/0.3014, allocations: 3.009 MB / 0.9624 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.024e-05/0.3015, allocations: 7.938 kB / 0.9624 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.3018, allocations: 63.97 kB / 0.9625 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003264/0.3022, allocations: 179 kB / 0.9627 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00811/0.3103, allocations: 2.6 MB / 0.9652 GB, free: 7.91 MB / 0.6042 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.02526/0.3356, allocations: 13.52 MB / 0.9784 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/0.3392, allocations: 1.291 MB / 0.9796 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002514/0.3417, allocations: 1.044 MB / 0.9807 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.3419, allocations: 12.64 kB / 0.9807 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.3419, allocations: 43.22 kB / 0.9807 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 3.366e-06/0.342, allocations: 0 / 0.9807 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of matching and sorting (n=139): time 0.1431/0.485, allocations: 19.45 MB / 0.9997 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.4852, allocations: 68.72 kB / 0.9998 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.4871, allocations: 0.9144 MB / 1.001 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003678/0.4875, allocations: 53.7 kB / 1.001 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006801/0.4882, allocations: 0.7243 MB / 1.001 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007107/0.4889, allocations: 489 kB / 1.002 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.4892, allocations: 32 kB / 1.002 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002682/0.4895, allocations: 418.7 kB / 1.002 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003571/0.4931, allocations: 1.331 MB / 1.004 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003949/0.4971, allocations: 1.656 MB / 1.005 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/0.5012, allocations: 1.56 MB / 1.007 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.5013, allocations: 4 kB / 1.007 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.02753/0.5288, allocations: 5.625 MB / 1.012 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.5289, allocations: 8 kB / 1.012 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.5289, allocations: 11.94 kB / 1.012 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01731/0.5463, allocations: 2.717 MB / 1.015 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.5479, allocations: 187.7 kB / 1.015 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06116/0.6091, allocations: 23.31 MB / 1.038 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.6116, allocations: 99.95 kB / 1.038 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002853/0.6119, allocations: 59.98 kB / 1.038 GB, free: 11.29 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001952/0.6139, allocations: 0.7368 MB / 1.039 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/0.6144, allocations: 114.6 kB / 1.039 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02135/0.6357, allocations: 5.381 MB / 1.044 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/0.6358, allocations: 15.98 kB / 1.044 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.757e-05/0.6359, allocations: 20 kB / 1.044 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.094e-05/0.6359, allocations: 3.984 kB / 1.044 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6853/1.321, allocations: 8.61 MB / 1.053 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-05/1.321, allocations: 3.406 kB / 1.053 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/1.323, allocations: 121.6 kB / 1.053 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02491/1.348, allocations: 2.539 MB / 1.055 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004649/1.348, allocations: 24.05 kB / 1.055 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07964/1.428, allocations: 20.86 MB / 1.076 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/1.428, allocations: 3.875 kB / 1.076 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02217/1.45, allocations: 5.12 MB / 1.081 GB, free: 99.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/1.452, allocations: 483.9 kB / 1.081 GB, free: 99.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000468/1.452, allocations: 29.44 kB / 1.081 GB, free: 99.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/1.454, allocations: 80.7 kB / 1.081 GB, free: 99.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000756/1.455, allocations: 125.2 kB / 1.081 GB, free: 99.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.455, allocations: 36.28 kB / 1.081 GB, free: 99.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0013/1.457, allocations: 0.6355 MB / 1.082 GB, free: 98.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/1.457, allocations: 0 / 1.082 GB, free: 98.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004175/1.461, allocations: 0.7151 MB / 1.083 GB, free: 98.86 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004942/1.461, allocations: 144.8 kB / 1.083 GB, free: 98.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.473, allocations: 4.134 MB / 1.087 GB, free: 97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.473, allocations: 0.9062 kB / 1.087 GB, free: 97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.009405/1.482, allocations: 2.671 MB / 1.089 GB, free: 95.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/1.484, allocations: 214.6 kB / 1.09 GB, free: 95.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/1.493, allocations: 4.521 MB / 1.094 GB, free: 92.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001982/1.495, allocations: 1.7 MB / 1.096 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001324/1.496, allocations: 327.4 kB / 1.096 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/1.497, allocations: 61.64 kB / 1.096 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/1.497, allocations: 0 / 1.096 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of Templates: time 0.0772/1.574, allocations: 35.98 MB / 1.131 GB, free: 56.06 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)