Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.295/2.295, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001971/0.00197, allocations: 201.4 kB / 329.5 MB, free: 1.152 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.672/2.672, allocations: 225.6 MB / 0.6001 GB, free: 448 kB / 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.001001/0.001001, allocations: 94.16 kB / 0.7074 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0008908/0.000891, allocations: 13.19 kB / 0.8242 GB, free: 125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2092, allocations: 109.1 MB / 0.9308 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005485/0.2148, allocations: 3.848 MB / 0.9345 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0055/0.2203, allocations: 2.998 MB / 0.9375 GB, free: 18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.2207, allocations: 15.94 kB / 0.9375 GB, free: 17.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007199/0.2215, allocations: 151.1 kB / 0.9376 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.2227, allocations: 314.4 kB / 0.9379 GB, free: 17.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.2234, allocations: 175.6 kB / 0.9381 GB, free: 17.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0009732/0.2244, allocations: 0.658 MB / 0.9387 GB, free: 16.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.226, allocations: 0.7548 MB / 0.9395 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.2264, allocations: 187.2 kB / 0.9396 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.2269, allocations: 247.1 kB / 0.9399 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.227, allocations: 16 kB / 0.9399 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007877/0.2278, allocations: 227.7 kB / 0.9401 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.228, allocations: 139.6 kB / 0.9403 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.2281, allocations: 101.5 kB / 0.9403 GB, free: 15 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0009524/0.2291, allocations: 0.6782 MB / 0.941 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2291, allocations: 0 / 0.941 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2291, allocations: 0 / 0.941 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.2292, allocations: 0 / 0.941 GB, free: 14.32 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001569/0.2307, allocations: 0.7092 MB / 0.9417 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2308, allocations: 12.03 kB / 0.9417 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.2356, allocations: 0.6945 MB / 0.9424 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.2368, allocations: 475.9 kB / 0.9428 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.2368, allocations: 25.03 kB / 0.9429 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.237, allocations: 36.12 kB / 0.9429 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.2393, allocations: 0.7903 MB / 0.9437 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.2394, allocations: 0 / 0.9437 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/0.2395, allocations: 12 kB / 0.9437 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/0.2397, allocations: 52.59 kB / 0.9437 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/0.2432, allocations: 0.8765 MB / 0.9446 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005644/0.2488, allocations: 2.87 MB / 0.9474 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/0.2517, allocations: 0.5176 MB / 0.9479 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.253, allocations: 264.6 kB / 0.9482 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.2531, allocations: 93.08 kB / 0.9482 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.2532, allocations: 34.78 kB / 0.9483 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 3.176e-06/0.2532, allocations: 0 / 0.9483 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24): time 0.02036/0.2736, allocations: 3.217 MB / 0.9514 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.2737, allocations: 88.97 kB / 0.9515 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006556/0.2743, allocations: 421.5 kB / 0.9519 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.774e-05/0.2744, allocations: 29.7 kB / 0.9519 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.2746, allocations: 239.8 kB / 0.9522 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.2747, allocations: 86.69 kB / 0.9522 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.2748, allocations: 8 kB / 0.9523 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.2749, allocations: 342.8 kB / 0.9526 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.2764, allocations: 367.5 kB / 0.9529 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.278, allocations: 445.2 kB / 0.9534 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.2796, allocations: 394.2 kB / 0.9537 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2796, allocations: 0 / 0.9537 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.009316/0.289, allocations: 1.544 MB / 0.9552 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.2892, allocations: 149.7 kB / 0.9554 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.2892, allocations: 4 kB / 0.9554 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007483/0.2967, allocations: 0.848 MB / 0.9562 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.2979, allocations: 135.8 kB / 0.9563 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.3098, allocations: 4.668 MB / 0.9609 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.3112, allocations: 115.8 kB / 0.961 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.3113, allocations: 19.98 kB / 0.961 GB, free: 9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3114, allocations: 8.062 kB / 0.961 GB, free: 8.992 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007961/0.3193, allocations: 1.253 MB / 0.9623 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3194, allocations: 8.188 kB / 0.9623 GB, free: 7.727 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004904/0.3243, allocations: 0.543 MB / 0.9628 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.3256, allocations: 151.8 kB / 0.9629 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006368/0.332, allocations: 2.498 MB / 0.9654 GB, free: 4.391 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.3335, allocations: 111.9 kB / 0.9655 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.933e-05/0.3336, allocations: 20.17 kB / 0.9655 GB, free: 4.262 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005886/0.3342, allocations: 322.1 kB / 0.9658 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.3343, allocations: 39.61 kB / 0.9659 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008725/0.3431, allocations: 1.432 MB / 0.9673 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.3431, allocations: 0 / 0.9673 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.3432, allocations: 4 kB / 0.9673 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.3432, allocations: 3.938 kB / 0.9673 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.3533, allocations: 2.081 MB / 0.9693 GB, free: 300 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.3534, allocations: 0 / 0.9693 GB, free: 300 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.3541, allocations: 83.91 kB / 0.9694 GB, free: 216 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006676/0.3608, allocations: 0.7935 MB / 0.9701 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.301e-05/0.361, allocations: 7.984 kB / 0.9702 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.3713, allocations: 4.493 MB / 0.9745 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3713, allocations: 4.062 kB / 0.9745 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008524/0.3799, allocations: 1.433 MB / 0.9759 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005039/0.3804, allocations: 176.5 kB / 0.9761 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.3806, allocations: 15.94 kB / 0.9761 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.3817, allocations: 95.84 kB / 0.9762 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.3819, allocations: 19.97 kB / 0.9762 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.3819, allocations: 11.98 kB / 0.9763 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006027/0.3825, allocations: 303.1 kB / 0.9765 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.696e-06/0.3826, allocations: 4 kB / 0.9765 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001232/0.3838, allocations: 215.9 kB / 0.9767 GB, free: 8.336 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002778/0.3841, allocations: 111.2 kB / 0.9769 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007005/0.3911, allocations: 1.63 MB / 0.9784 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.3912, allocations: 0 / 0.9784 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003019/0.3942, allocations: 0.6711 MB / 0.9791 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.3958, allocations: 121.4 kB / 0.9792 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.4001, allocations: 1.219 MB / 0.9804 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.4012, allocations: 0.9132 MB / 0.9813 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001554/0.4028, allocations: 151.2 kB / 0.9814 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.4032, allocations: 31.42 kB / 0.9815 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of SimCode: time 1.533e-06/0.4032, allocations: 0 / 0.9815 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of Templates: time 0.06587/0.4691, allocations: 11.93 MB / 0.9931 GB, free: 7.496 MB / 0.6355 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)