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.ACLine_RL.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.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.434/2.434, allocations: 254.9 MB / 269.9 MB, free: 9.629 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.001309/0.001309, allocations: 190.7 kB / 329.5 MB, free: 1.141 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.896/2.896, allocations: 225.6 MB / 0.6002 GB, free: 2.156 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.0009404/0.0009402, allocations: 114.6 kB / 0.7074 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004837, allocations: 11.34 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2203, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.05119/0.2716, allocations: 24.21 MB / 0.9544 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02953/0.3012, allocations: 7.715 MB / 0.962 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003948/0.3052, allocations: 103.4 kB / 0.9621 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003938/0.3092, allocations: 0.5076 MB / 0.9626 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008165/0.3175, allocations: 1.286 MB / 0.9638 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.007569/0.3251, allocations: 0.9861 MB / 0.9648 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01799/0.3431, allocations: 6.96 MB / 0.9716 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02798/0.3712, allocations: 8.549 MB / 0.9799 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007962/0.3792, allocations: 1.879 MB / 0.9817 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008774/0.3881, allocations: 2.394 MB / 0.9841 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.00182/0.39, allocations: 212 kB / 0.9843 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004515/0.3945, allocations: 0.5931 MB / 0.9849 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.004489/0.3991, allocations: 1.668 MB / 0.9865 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002781/0.4019, allocations: 0.8005 MB / 0.9873 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.4167, allocations: 6.631 MB / 0.9938 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4168, allocations: 0 / 0.9938 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.266e-06/0.4168, allocations: 0 / 0.9938 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002559/0.4171, allocations: 0 / 0.9938 GB, free: 8.391 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.03082/0.4479, allocations: 3.464 MB / 0.9971 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.824e-05/0.448, allocations: 8.031 kB / 0.9971 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01324/0.4613, allocations: 0.8001 MB / 0.9979 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/0.4749, allocations: 2.371 MB / 1 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006779/0.4757, allocations: 271.7 kB / 1.001 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002744/0.4784, allocations: 376.5 kB / 1.001 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02458/0.5031, allocations: 5.961 MB / 1.007 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002692/0.5035, allocations: 23.77 kB / 1.007 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001471/0.5049, allocations: 160 kB / 1.007 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001184/0.5062, allocations: 278.9 kB / 1.007 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.5214, allocations: 4.492 MB / 1.012 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6844/1.206, allocations: 27.7 MB / 1.039 GB, free: 57.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/1.209, allocations: 1.115 MB / 1.04 GB, free: 57.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002577/1.212, allocations: 1.019 MB / 1.041 GB, free: 57.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/1.212, allocations: 11.06 kB / 1.041 GB, free: 57.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/1.212, allocations: 46.19 kB / 1.041 GB, free: 57.06 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=110): time 4.478e-06/1.212, allocations: 0 / 1.041 GB, free: 57.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.0385/1.25, allocations: 9.679 MB / 1.05 GB, free: 52.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/1.25, allocations: 65.78 kB / 1.05 GB, free: 52.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003099/1.254, allocations: 1.481 MB / 1.052 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003683/1.254, allocations: 47.2 kB / 1.052 GB, free: 52.14 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00152/1.255, allocations: 1.664 MB / 1.053 GB, free: 50.88 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007436/1.256, allocations: 475.9 kB / 1.054 GB, free: 50.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/1.256, allocations: 34.66 kB / 1.054 GB, free: 50.49 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.257, allocations: 379.5 kB / 1.054 GB, free: 50.15 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/1.259, allocations: 0.9118 MB / 1.055 GB, free: 49.81 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/1.262, allocations: 1.454 MB / 1.056 GB, free: 48.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/1.265, allocations: 1.148 MB / 1.058 GB, free: 48.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/1.265, allocations: 4.5 kB / 1.058 GB, free: 48.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01187/1.277, allocations: 3.272 MB / 1.061 GB, free: 46.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/1.277, allocations: 12.28 kB / 1.061 GB, free: 46.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/1.277, allocations: 17.5 kB / 1.061 GB, free: 46.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005288/1.283, allocations: 0.7379 MB / 1.062 GB, free: 46.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/1.287, allocations: 385 kB / 1.062 GB, free: 46.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02743/1.315, allocations: 15.77 MB / 1.077 GB, free: 32.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003694/1.318, allocations: 105.9 kB / 1.077 GB, free: 32.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003469/1.319, allocations: 73.38 kB / 1.078 GB, free: 32.37 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004709/1.323, allocations: 1.307 MB / 1.079 GB, free: 31.55 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000851/1.324, allocations: 197.5 kB / 1.079 GB, free: 31.45 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.336, allocations: 2.789 MB / 1.082 GB, free: 29.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/1.336, allocations: 17.19 kB / 1.082 GB, free: 29.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.874e-05/1.336, allocations: 7.562 kB / 1.082 GB, free: 29.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.831e-05/1.336, allocations: 7.969 kB / 1.082 GB, free: 29.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/1.358, allocations: 6.208 MB / 1.088 GB, free: 25.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.358, allocations: 7.844 kB / 1.088 GB, free: 25.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/1.36, allocations: 232.4 kB / 1.088 GB, free: 25.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/1.363, allocations: 0.6655 MB / 1.089 GB, free: 25.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002309/1.364, allocations: 38.31 kB / 1.089 GB, free: 25.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01821/1.382, allocations: 15.5 MB / 1.104 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.382, allocations: 11.17 kB / 1.104 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009555/1.392, allocations: 3.996 MB / 1.108 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.393, allocations: 458.5 kB / 1.108 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/1.393, allocations: 35.98 kB / 1.108 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.395, allocations: 83.89 kB / 1.108 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/1.396, allocations: 112.7 kB / 1.108 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.396, allocations: 43.94 kB / 1.108 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001779/1.397, allocations: 0.9786 MB / 1.109 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/1.397, allocations: 0 / 1.109 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003397/1.401, allocations: 0.6875 MB / 1.11 GB, free: 5.949 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003955/1.401, allocations: 159.3 kB / 1.11 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007657/1.409, allocations: 3.491 MB / 1.114 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.409, allocations: 4 kB / 1.114 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005011/1.414, allocations: 2.285 MB / 1.116 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005342/1.419, allocations: 0.615 MB / 1.116 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/1.438, allocations: 7.824 MB / 1.124 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005309/1.444, allocations: 2.668 MB / 1.127 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002899/1.447, allocations: 489.3 kB / 1.127 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007063/1.447, allocations: 115.4 kB / 1.127 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of SimCode: time 1.153e-06/1.447, allocations: 0 / 1.127 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of Templates: time 0.09499/1.542, allocations: 31.22 MB / 1.158 GB, free: 4.922 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)