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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") 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.871/1.871, allocations: 297.4 MB / 312.6 MB, free: 2.961 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.0009751/0.0009753, allocations: 190 kB / 382.3 MB, free: 14.84 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.567/1.567, allocations: 225.7 MB / 0.6617 GB, free: 7.266 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.0007863/0.0007863, allocations: 91.48 kB / 0.7789 GB, free: 46.69 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 8.875 kB / 0.9058 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7118, allocations: 119.2 MB / 1.022 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01131/0.7231, allocations: 6.096 MB / 1.028 GB, free: 53.76 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007615/0.7308, allocations: 4.344 MB / 1.032 GB, free: 50.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.7323, allocations: 24.91 kB / 1.033 GB, free: 50.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008724/0.7332, allocations: 140.3 kB / 1.033 GB, free: 49.99 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.7357, allocations: 471.5 kB / 1.033 GB, free: 49.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.7376, allocations: 407.7 kB / 1.033 GB, free: 49.53 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003046/0.7407, allocations: 1.594 MB / 1.035 GB, free: 48.94 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.7435, allocations: 1.528 MB / 1.037 GB, free: 47.8 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.7448, allocations: 404.1 kB / 1.037 GB, free: 47.65 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.7462, allocations: 0.4891 MB / 1.037 GB, free: 47.46 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.7465, allocations: 36.59 kB / 1.037 GB, free: 47.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.748, allocations: 424.4 kB / 1.038 GB, free: 47.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005952/0.7486, allocations: 271.9 kB / 1.038 GB, free: 47.22 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.7496, allocations: 427.7 kB / 1.038 GB, free: 46.97 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.7521, allocations: 1.189 MB / 1.04 GB, free: 46.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.7522, allocations: 1 kB / 1.04 GB, free: 46.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.604e-06/0.7522, allocations: 0 / 1.04 GB, free: 46.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.086e-05/0.7523, allocations: 0 / 1.04 GB, free: 46.62 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003117/0.7554, allocations: 1.014 MB / 1.041 GB, free: 45.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.7554, allocations: 10.45 kB / 1.041 GB, free: 45.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/0.7577, allocations: 240.8 kB / 1.041 GB, free: 45.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.7593, allocations: 0.552 MB / 1.041 GB, free: 45.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-05/0.7594, allocations: 50.95 kB / 1.041 GB, free: 45.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.7596, allocations: 62.56 kB / 1.042 GB, free: 45.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.7621, allocations: 1.083 MB / 1.043 GB, free: 44.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.462e-05/0.7621, allocations: 3.938 kB / 1.043 GB, free: 44.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.7623, allocations: 25.94 kB / 1.043 GB, free: 44.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002512/0.7625, allocations: 93.09 kB / 1.043 GB, free: 44.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.7646, allocations: 0.7436 MB / 1.043 GB, free: 44.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007264/0.7719, allocations: 5.915 MB / 1.049 GB, free: 39.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.7733, allocations: 0.5534 MB / 1.05 GB, free: 39.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.7739, allocations: 323.2 kB / 1.05 GB, free: 39.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.774, allocations: 5.062 kB / 1.05 GB, free: 39.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.774, allocations: 39.06 kB / 1.05 GB, free: 39.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.998e-06/0.774, allocations: 4 kB / 1.05 GB, free: 39.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.00522/0.7793, allocations: 1.991 MB / 1.052 GB, free: 38.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.7793, allocations: 58.41 kB / 1.052 GB, free: 37.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009173/0.7803, allocations: 0.5584 MB / 1.053 GB, free: 37.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.7803, allocations: 32.8 kB / 1.053 GB, free: 37.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.7806, allocations: 416 kB / 1.053 GB, free: 37.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.7808, allocations: 171.1 kB / 1.053 GB, free: 37.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.7809, allocations: 15.16 kB / 1.053 GB, free: 37.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.781, allocations: 377.6 kB / 1.054 GB, free: 36.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.7816, allocations: 275.8 kB / 1.054 GB, free: 36.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/0.7823, allocations: 496.6 kB / 1.054 GB, free: 36.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.7833, allocations: 0.81 MB / 1.055 GB, free: 35.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7834, allocations: 0 / 1.055 GB, free: 35.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00196/0.7853, allocations: 1.08 MB / 1.056 GB, free: 35.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.7854, allocations: 13.81 kB / 1.056 GB, free: 35.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.7854, allocations: 9.594 kB / 1.056 GB, free: 35.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009999/0.7864, allocations: 278.8 kB / 1.056 GB, free: 35.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.787, allocations: 123.2 kB / 1.057 GB, free: 35.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/0.7924, allocations: 6.599 MB / 1.063 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/0.7933, allocations: 40.86 kB / 1.063 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.7934, allocations: 31.31 kB / 1.063 GB, free: 29.5 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0005188/0.7939, allocations: 250 kB / 1.063 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.794, allocations: 72.62 kB / 1.063 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.7956, allocations: 0.8905 MB / 1.064 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.7956, allocations: 5.938 kB / 1.064 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.7956, allocations: 4 kB / 1.064 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.7956, allocations: 3.469 kB / 1.064 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.7979, allocations: 1.727 MB / 1.066 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.7979, allocations: 7.25 kB / 1.066 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.7982, allocations: 70.31 kB / 1.066 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006603/0.7989, allocations: 262.5 kB / 1.066 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.7989, allocations: 21.75 kB / 1.066 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.8036, allocations: 6.576 MB / 1.073 GB, free: 22.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.8036, allocations: 3.234 kB / 1.073 GB, free: 22.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.805, allocations: 0.9798 MB / 1.074 GB, free: 21.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.8053, allocations: 191.6 kB / 1.074 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.8054, allocations: 18.97 kB / 1.074 GB, free: 21.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.8057, allocations: 23.53 kB / 1.074 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.8059, allocations: 50.88 kB / 1.074 GB, free: 21.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.8059, allocations: 13.72 kB / 1.074 GB, free: 21.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000377/0.8063, allocations: 383.8 kB / 1.074 GB, free: 21.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8063, allocations: 4 kB / 1.074 GB, free: 21.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008161/0.8071, allocations: 223.4 kB / 1.075 GB, free: 21.22 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001537/0.8073, allocations: 123.7 kB / 1.075 GB, free: 21.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.809, allocations: 1.262 MB / 1.076 GB, free: 20.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.809, allocations: 0 / 1.076 GB, free: 20.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.8101, allocations: 0.8875 MB / 1.077 GB, free: 19.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.8112, allocations: 203.5 kB / 1.077 GB, free: 19.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.8133, allocations: 1.674 MB / 1.079 GB, free: 18.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.8138, allocations: 1.017 MB / 1.08 GB, free: 17.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000442/0.8142, allocations: 121.6 kB / 1.08 GB, free: 17.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.8143, allocations: 42.09 kB / 1.08 GB, free: 17.91 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/0.8143, allocations: 0 / 1.08 GB, free: 17.91 MB / 0.698 GB Notification: Performance of Templates: time 0.01715/0.8315, allocations: 10.63 MB / 1.09 GB, free: 17.25 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)