Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.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.0009839/0.0009838, allocations: 181.3 kB / 382.3 MB, free: 14.82 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.542/1.542, allocations: 225.7 MB / 0.6617 GB, free: 7.227 MB / 490.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.0008929/0.0008932, allocations: 94.36 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 8.594 kB / 0.9058 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7025, allocations: 119.2 MB / 1.022 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006415/0.709, allocations: 5.493 MB / 1.028 GB, free: 54.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005377/0.7144, allocations: 5.276 MB / 1.033 GB, free: 49.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007066/0.7152, allocations: 29.28 kB / 1.033 GB, free: 49.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.7156, allocations: 123.5 kB / 1.033 GB, free: 49.88 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.7168, allocations: 442 kB / 1.033 GB, free: 49.64 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.7181, allocations: 462.9 kB / 1.034 GB, free: 49.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001518/0.7196, allocations: 1.467 MB / 1.035 GB, free: 48.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.7214, allocations: 1.513 MB / 1.037 GB, free: 47.75 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.722, allocations: 367.7 kB / 1.037 GB, free: 47.6 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.7226, allocations: 448 kB / 1.037 GB, free: 47.43 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.7227, allocations: 34.81 kB / 1.038 GB, free: 47.43 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.7237, allocations: 0.5484 MB / 1.038 GB, free: 47.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.724, allocations: 255.7 kB / 1.038 GB, free: 47.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.7243, allocations: 384.1 kB / 1.039 GB, free: 46.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.7255, allocations: 1.162 MB / 1.04 GB, free: 46.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.7255, allocations: 0 / 1.04 GB, free: 46.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7255, allocations: 0 / 1.04 GB, free: 46.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.7256, allocations: 0.5312 kB / 1.04 GB, free: 46.57 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001298/0.7269, allocations: 0.9263 MB / 1.041 GB, free: 45.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.7269, allocations: 9.5 kB / 1.041 GB, free: 45.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.7282, allocations: 227.5 kB / 1.041 GB, free: 45.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.729, allocations: 0.5388 MB / 1.041 GB, free: 45.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.729, allocations: 44.98 kB / 1.042 GB, free: 45.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-05/0.7291, allocations: 61 kB / 1.042 GB, free: 45.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.7304, allocations: 1.029 MB / 1.043 GB, free: 44.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.7305, allocations: 14.41 kB / 1.043 GB, free: 44.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.7305, allocations: 29.77 kB / 1.043 GB, free: 44.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.7307, allocations: 68.92 kB / 1.043 GB, free: 44.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009893/0.7317, allocations: 0.6845 MB / 1.043 GB, free: 44.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/0.7359, allocations: 5.766 MB / 1.049 GB, free: 39.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007636/0.7367, allocations: 0.5972 MB / 1.05 GB, free: 39.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006874/0.7374, allocations: 422.9 kB / 1.05 GB, free: 39.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.7374, allocations: 2.562 kB / 1.05 GB, free: 39.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.7375, allocations: 36.03 kB / 1.05 GB, free: 39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 1.874e-06/0.7375, allocations: 4 kB / 1.05 GB, free: 39 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.00404/0.7415, allocations: 2.067 MB / 1.052 GB, free: 37.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.7416, allocations: 58.5 kB / 1.052 GB, free: 37.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.742, allocations: 461.4 kB / 1.053 GB, free: 37.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.742, allocations: 29.7 kB / 1.053 GB, free: 37.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.7422, allocations: 399.8 kB / 1.053 GB, free: 37.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-05/0.7423, allocations: 149.2 kB / 1.053 GB, free: 37.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.7423, allocations: 11.31 kB / 1.053 GB, free: 37.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.7424, allocations: 365.4 kB / 1.053 GB, free: 36.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.7428, allocations: 240.8 kB / 1.054 GB, free: 36.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.7432, allocations: 463.6 kB / 1.054 GB, free: 36.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/0.7439, allocations: 0.7509 MB / 1.055 GB, free: 35.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7439, allocations: 3.031 kB / 1.055 GB, free: 35.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001585/0.7455, allocations: 1.053 MB / 1.056 GB, free: 35.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.7455, allocations: 13.44 kB / 1.056 GB, free: 35.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.7455, allocations: 7.281 kB / 1.056 GB, free: 35.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009587/0.7465, allocations: 336.8 kB / 1.056 GB, free: 35.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.7468, allocations: 99.98 kB / 1.056 GB, free: 35.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005055/0.7519, allocations: 6.94 MB / 1.063 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.7523, allocations: 38.89 kB / 1.063 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.7524, allocations: 23.69 kB / 1.063 GB, free: 29.41 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003333/0.7527, allocations: 248.6 kB / 1.063 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.7528, allocations: 57.06 kB / 1.063 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.7543, allocations: 0.9137 MB / 1.064 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.7543, allocations: 6 kB / 1.064 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7543, allocations: 7.094 kB / 1.064 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7543, allocations: 3.281 kB / 1.064 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.7566, allocations: 1.704 MB / 1.066 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7566, allocations: 3.469 kB / 1.066 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.7568, allocations: 41.8 kB / 1.066 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008331/0.7576, allocations: 330.2 kB / 1.066 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.7576, allocations: 7.219 kB / 1.066 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004976/0.7626, allocations: 6.936 MB / 1.073 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.7627, allocations: 3.281 kB / 1.073 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.7644, allocations: 1.007 MB / 1.074 GB, free: 21.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.7646, allocations: 173.5 kB / 1.074 GB, free: 21.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.7647, allocations: 13.98 kB / 1.074 GB, free: 21.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.765, allocations: 21.23 kB / 1.074 GB, free: 21.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.7651, allocations: 41.52 kB / 1.074 GB, free: 21.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.7651, allocations: 17.66 kB / 1.074 GB, free: 21.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003369/0.7655, allocations: 303.2 kB / 1.075 GB, free: 21.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7655, allocations: 0 / 1.075 GB, free: 21.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008831/0.7664, allocations: 199.7 kB / 1.075 GB, free: 21.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001891/0.7666, allocations: 123.9 kB / 1.075 GB, free: 20.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.7683, allocations: 1.197 MB / 1.076 GB, free: 20.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.7683, allocations: 3.25 kB / 1.076 GB, free: 20.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.7694, allocations: 0.8641 MB / 1.077 GB, free: 19.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009941/0.7704, allocations: 188.5 kB / 1.077 GB, free: 19.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.7722, allocations: 1.547 MB / 1.079 GB, free: 18.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007835/0.773, allocations: 0.9911 MB / 1.08 GB, free: 33.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002975/0.7733, allocations: 98.88 kB / 1.08 GB, free: 33.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.7734, allocations: 39.91 kB / 1.08 GB, free: 33.85 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.7734, allocations: 0 / 1.08 GB, free: 33.85 MB / 0.7136 GB Notification: Performance of Templates: time 0.01647/0.7898, allocations: 9.474 MB / 1.089 GB, free: 33.26 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)