Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") 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.648 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.001358/0.001358, allocations: 199.5 kB / 329.5 MB, free: 1.164 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.565/2.565, allocations: 225.6 MB / 0.6001 GB, free: 0.5078 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.001025/0.001025, allocations: 98.16 kB / 0.7074 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007239/0.0007244, allocations: 10.28 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.246, allocations: 109.1 MB / 0.9308 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01385/0.2599, allocations: 6.027 MB / 0.9367 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.009493/0.2695, allocations: 2.924 MB / 0.9395 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000996/0.2706, allocations: 23.81 kB / 0.9395 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006108/0.2712, allocations: 134.9 kB / 0.9397 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.2729, allocations: 417.7 kB / 0.9401 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.2744, allocations: 331.3 kB / 0.9404 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.2765, allocations: 1.345 MB / 0.9417 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.279, allocations: 0.96 MB / 0.9426 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008752/0.2799, allocations: 390.4 kB / 0.943 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008907/0.2808, allocations: 494.2 kB / 0.9435 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.281, allocations: 36 kB / 0.9435 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006985/0.2817, allocations: 187.8 kB / 0.9437 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.282, allocations: 267.2 kB / 0.9439 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.2823, allocations: 181.2 kB / 0.9441 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.2835, allocations: 0.9118 MB / 0.945 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2835, allocations: 0 / 0.945 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2836, allocations: 0 / 0.945 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.251e-05/0.2836, allocations: 4 kB / 0.945 GB, free: 10.24 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002369/0.286, allocations: 1.005 MB / 0.946 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.286, allocations: 12.03 kB / 0.946 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.2884, allocations: 239.6 kB / 0.9462 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.2897, allocations: 0.5417 MB / 0.9468 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.2898, allocations: 45.67 kB / 0.9468 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.2899, allocations: 64.38 kB / 0.9469 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.2921, allocations: 1.081 MB / 0.9479 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/0.2922, allocations: 4 kB / 0.9479 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.2924, allocations: 35.98 kB / 0.948 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002446/0.2926, allocations: 89.19 kB / 0.948 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.2945, allocations: 0.7464 MB / 0.9488 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007191/0.3017, allocations: 5.901 MB / 0.9545 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.3036, allocations: 0.549 MB / 0.9551 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008052/0.3044, allocations: 330 kB / 0.9554 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.524e-05/0.3045, allocations: 8.438 kB / 0.9554 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.3045, allocations: 43 kB / 0.9554 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 3.116e-06/0.3046, allocations: 0 / 0.9554 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.006842/0.3114, allocations: 1.978 MB / 0.9574 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.3115, allocations: 59.84 kB / 0.9574 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3126, allocations: 0.5626 MB / 0.958 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.3127, allocations: 33.7 kB / 0.958 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.3132, allocations: 422.8 kB / 0.9584 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.3134, allocations: 173.5 kB / 0.9586 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.3135, allocations: 12 kB / 0.9586 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002114/0.3137, allocations: 378.7 kB / 0.9589 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/0.3145, allocations: 273.8 kB / 0.9592 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009418/0.3154, allocations: 493.5 kB / 0.9597 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008971/0.3163, allocations: 350 kB / 0.96 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.3164, allocations: 4 kB / 0.96 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003276/0.3197, allocations: 1.083 MB / 0.9611 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.3197, allocations: 8 kB / 0.9611 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.3198, allocations: 8 kB / 0.9611 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.3213, allocations: 275.8 kB / 0.9613 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.3224, allocations: 131.7 kB / 0.9615 GB, free: 8.449 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.3326, allocations: 6.599 MB / 0.9679 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.3336, allocations: 40.14 kB / 0.968 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/0.3338, allocations: 32 kB / 0.968 GB, free: 1.242 MB / 0.6042 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 (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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006131/0.3344, allocations: 259 kB / 0.9682 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.3346, allocations: 71.16 kB / 0.9683 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.3373, allocations: 0.8848 MB / 0.9692 GB, free: 0 / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.773e-05/0.3374, allocations: 4.047 kB / 0.9692 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.3374, allocations: 4 kB / 0.9692 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.3375, allocations: 3.938 kB / 0.9692 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004672/0.3421, allocations: 1.724 MB / 0.9709 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.3422, allocations: 8.125 kB / 0.9709 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.3428, allocations: 59.89 kB / 0.9709 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.3442, allocations: 271.2 kB / 0.9712 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.418e-05/0.3443, allocations: 8 kB / 0.9712 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.3545, allocations: 6.579 MB / 0.9776 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3545, allocations: 0 / 0.9776 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.3573, allocations: 0.9835 MB / 0.9786 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/0.3579, allocations: 200.1 kB / 0.9788 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.3581, allocations: 11.94 kB / 0.9788 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006909/0.3588, allocations: 27.97 kB / 0.9788 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.359, allocations: 47.88 kB / 0.9789 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.359, allocations: 16.19 kB / 0.9789 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007245/0.3598, allocations: 383.1 kB / 0.9792 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/0.3598, allocations: 4 kB / 0.9792 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001266/0.3611, allocations: 220 kB / 0.9794 GB, free: 4.773 MB / 0.6198 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 (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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002385/0.3613, allocations: 123.7 kB / 0.9796 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003408/0.3648, allocations: 1.268 MB / 0.9808 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.3648, allocations: 0 / 0.9808 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.3671, allocations: 0.8933 MB / 0.9817 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.369, allocations: 217 kB / 0.9819 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.3729, allocations: 1.587 MB / 0.9834 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009762/0.3739, allocations: 1.017 MB / 0.9844 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008265/0.3748, allocations: 118 kB / 0.9845 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.375, allocations: 39.44 kB / 0.9846 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/0.3751, allocations: 0 / 0.9846 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.04363/0.4187, allocations: 10.3 MB / 0.9946 GB, free: 5.055 MB / 0.6355 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)