Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.649/1.649, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.001005/0.001006, allocations: 193.9 kB / 330.8 MB, free: 484 kB / 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 1.598/1.598, allocations: 225.7 MB / 0.6016 GB, free: 1.617 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.0008479/0.0008479, allocations: 103.2 kB / 0.709 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1828, allocations: 109.2 MB / 0.9328 GB, free: 6.266 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02096/0.2038, allocations: 21.49 MB / 0.9538 GB, free: 0.7148 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01126/0.2151, allocations: 9.204 MB / 0.9627 GB, free: 6.793 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.2167, allocations: 79.56 kB / 0.9628 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.2178, allocations: 468.5 kB / 0.9633 GB, free: 6.254 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003515/0.2213, allocations: 1.739 MB / 0.965 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.2239, allocations: 1.209 MB / 0.9661 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.2343, allocations: 10.55 MB / 0.9764 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0135/0.2479, allocations: 10.67 MB / 0.9869 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/0.2529, allocations: 2.155 MB / 0.989 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004731/0.2576, allocations: 3.169 MB / 0.9921 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008944/0.2585, allocations: 248 kB / 0.9923 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.2609, allocations: 1.033 MB / 0.9933 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.263, allocations: 2.065 MB / 0.9953 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.2653, allocations: 2.112 MB / 0.9974 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.411/0.6763, allocations: 8.119 MB / 1.005 GB, free: 35.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.6764, allocations: 0 / 1.005 GB, free: 35.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.066e-06/0.6764, allocations: 0.6875 kB / 1.005 GB, free: 35.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003853/0.6768, allocations: 0 / 1.005 GB, free: 35.16 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01235/0.6891, allocations: 3.567 MB / 1.009 GB, free: 33.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.6892, allocations: 13.36 kB / 1.009 GB, free: 33.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.7001, allocations: 1.683 MB / 1.01 GB, free: 33.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008891/0.709, allocations: 2.572 MB / 1.013 GB, free: 32.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004481/0.7095, allocations: 277.9 kB / 1.013 GB, free: 32.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003118/0.7126, allocations: 356.8 kB / 1.014 GB, free: 32.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03078/0.7434, allocations: 7.461 MB / 1.021 GB, free: 31.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003909/0.7438, allocations: 20.52 kB / 1.021 GB, free: 31.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003182/0.747, allocations: 160.1 kB / 1.021 GB, free: 31.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001052/0.7481, allocations: 481.4 kB / 1.021 GB, free: 31.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.7634, allocations: 5.68 MB / 1.027 GB, free: 31.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05056/0.814, allocations: 31.68 MB / 1.058 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/0.8175, allocations: 2.075 MB / 1.06 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003552/0.8211, allocations: 2.169 MB / 1.062 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.8215, allocations: 18.47 kB / 1.062 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.8215, allocations: 45.22 kB / 1.062 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=146): time 3.416e-06/0.8215, allocations: 0 / 1.062 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=251): time 0.2742/1.096, allocations: 75.28 MB / 1.136 GB, free: 6.363 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/1.096, allocations: 79.17 kB / 1.136 GB, free: 6.277 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/1.099, allocations: 1.646 MB / 1.137 GB, free: 4.586 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007787/1.1, allocations: 65.7 kB / 1.137 GB, free: 4.516 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001489/1.102, allocations: 1.748 MB / 1.139 GB, free: 2.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001282/1.103, allocations: 0.8563 MB / 1.14 GB, free: 1.902 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004022/1.103, allocations: 48 kB / 1.14 GB, free: 1.855 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000248/1.103, allocations: 419.2 kB / 1.14 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004095/1.108, allocations: 2.722 MB / 1.143 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004532/1.112, allocations: 3.318 MB / 1.146 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009357/1.122, allocations: 6.38 MB / 1.153 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/1.122, allocations: 8 kB / 1.153 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03312/1.155, allocations: 14.66 MB / 1.167 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/1.155, allocations: 15.91 kB / 1.167 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.011e-05/1.155, allocations: 16 kB / 1.167 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02925/1.184, allocations: 9.245 MB / 1.176 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/1.185, allocations: 299.1 kB / 1.176 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07493/1.26, allocations: 47.06 MB / 1.222 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/1.264, allocations: 223.7 kB / 1.222 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007473/1.265, allocations: 100 kB / 1.222 GB, free: 12.51 MB / 0.7917 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,68.1%), (19,19,54.6%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004187/1.269, allocations: 1.585 MB / 1.224 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.27, allocations: 241.1 kB / 1.224 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03254/1.302, allocations: 14.74 MB / 1.239 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/1.303, allocations: 24 kB / 1.239 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001902/1.303, allocations: 47.98 kB / 1.239 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.804e-05/1.303, allocations: 15.95 kB / 1.239 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06167/1.364, allocations: 20.5 MB / 1.259 GB, free: 7.504 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.547e-05/1.365, allocations: 11.94 kB / 1.259 GB, free: 7.492 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.366, allocations: 171 kB / 1.259 GB, free: 7.328 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04234/1.408, allocations: 8.993 MB / 1.268 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00113/1.409, allocations: 51.98 kB / 1.268 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08927/1.499, allocations: 46.69 MB / 1.313 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/1.499, allocations: 7.938 kB / 1.313 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03351/1.532, allocations: 14.35 MB / 1.327 GB, free: 264 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.479/2.011, allocations: 0.8429 MB / 1.328 GB, free: 301.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/2.012, allocations: 50.95 kB / 1.328 GB, free: 301.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/2.014, allocations: 206.7 kB / 1.328 GB, free: 301.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001417/2.016, allocations: 242.3 kB / 1.329 GB, free: 301.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/2.016, allocations: 64.78 kB / 1.329 GB, free: 301.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001805/2.018, allocations: 1.108 MB / 1.33 GB, free: 301.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.61e-07/2.018, allocations: 0.8438 kB / 1.33 GB, free: 301.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0061/2.024, allocations: 1.598 MB / 1.331 GB, free: 301.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005105/2.025, allocations: 171.8 kB / 1.332 GB, free: 301 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02392/2.049, allocations: 10.32 MB / 1.342 GB, free: 300 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/2.049, allocations: 1.875 kB / 1.342 GB, free: 300 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01721/2.066, allocations: 7.153 MB / 1.349 GB, free: 297.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0055/2.071, allocations: 0.5124 MB / 1.349 GB, free: 297.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/2.091, allocations: 10.6 MB / 1.359 GB, free: 292.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006268/2.097, allocations: 3.224 MB / 1.363 GB, free: 290.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001813/2.099, allocations: 392.4 kB / 1.363 GB, free: 290.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/2.099, allocations: 96.5 kB / 1.363 GB, free: 290.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.092e-06/2.099, allocations: 0 / 1.363 GB, free: 290.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.1235/2.223, allocations: 86.17 MB / 1.447 GB, free: 218.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)