Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009527/0.009527, allocations: 107.7 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001158/0.001158, allocations: 180.9 kB / 15.94 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2/2, allocations: 194.5 MB / 211.3 MB, free: 11.28 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.162/2.162, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004692, allocations: 16 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5335/0.5339, allocations: 98.7 MB / 0.6833 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.0143/0.5483, allocations: 10.41 MB / 0.6935 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.009791/0.5581, allocations: 5.145 MB / 0.6985 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.5593, allocations: 29.12 kB / 0.6986 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.5604, allocations: 324.8 kB / 0.6989 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.5625, allocations: 0.5567 MB / 0.6994 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.5649, allocations: 0.5876 MB / 0.7 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002163/0.567, allocations: 1.202 MB / 0.7012 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006659/0.5737, allocations: 3.866 MB / 0.7049 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.575, allocations: 0.6402 MB / 0.7056 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.5761, allocations: 0.7353 MB / 0.7063 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002741/0.5764, allocations: 101.1 kB / 0.7064 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.5776, allocations: 331.2 kB / 0.7067 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0007811/0.5784, allocations: 0.6838 MB / 0.7074 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004972/0.5789, allocations: 367.5 kB / 0.7077 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003856/0.5827, allocations: 3.241 MB / 0.7109 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.601e-06/0.5828, allocations: 1.062 kB / 0.7109 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.438e-06/0.5828, allocations: 7.875 kB / 0.7109 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.963e-05/0.5829, allocations: 0 / 0.7109 GB, free: 15.2 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004891/0.5878, allocations: 1.773 MB / 0.7126 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5878, allocations: 9.75 kB / 0.7126 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004738/0.5926, allocations: 0.7604 MB / 0.7134 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.5961, allocations: 1.223 MB / 0.7146 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.5963, allocations: 124.4 kB / 0.7147 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006522/0.597, allocations: 164 kB / 0.7148 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007853/0.6049, allocations: 2.932 MB / 0.7177 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.88e-05/0.605, allocations: 4 kB / 0.7177 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003149/0.6053, allocations: 67.98 kB / 0.7178 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005564/0.6059, allocations: 207 kB / 0.718 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006479/0.6124, allocations: 2.499 MB / 0.7204 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01931/0.6317, allocations: 10.9 MB / 0.7311 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.6336, allocations: 0.9189 MB / 0.732 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.6338, allocations: 97.45 kB / 0.7321 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.6338, allocations: 34.94 kB / 0.7321 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=46): time 3.902e-06/0.6339, allocations: 4 kB / 0.7321 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70): time 0.03562/0.6695, allocations: 8.965 MB / 0.7408 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.6696, allocations: 89.66 kB / 0.7409 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.6714, allocations: 0.9376 MB / 0.7418 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.6716, allocations: 45.64 kB / 0.7419 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/0.6723, allocations: 0.7697 MB / 0.7426 GB, free: 332 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.6726, allocations: 244.5 kB / 0.7429 GB, free: 84 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.6727, allocations: 20 kB / 0.7429 GB, free: 64 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002826/0.673, allocations: 398.8 kB / 0.7433 GB, free: 15.66 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.6748, allocations: 0.795 MB / 0.7441 GB, free: 14.86 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.6768, allocations: 1.16 MB / 0.7452 GB, free: 13.54 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.6789, allocations: 0.9946 MB / 0.7462 GB, free: 12.55 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.516e-06/0.679, allocations: 0 / 0.7462 GB, free: 12.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01279/0.6918, allocations: 3.787 MB / 0.7499 GB, free: 8.746 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002252/0.694, allocations: 4.273 MB / 0.754 GB, free: 4.137 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.6941, allocations: 19.89 kB / 0.754 GB, free: 4.117 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.705, allocations: 2.157 MB / 0.7562 GB, free: 1.953 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.7062, allocations: 223.6 kB / 0.7564 GB, free: 1.734 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02252/0.7287, allocations: 10.67 MB / 0.7668 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.7306, allocations: 199.5 kB / 0.767 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.7308, allocations: 51.98 kB / 0.767 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.7308, allocations: 4 kB / 0.767 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01025/0.7411, allocations: 3.076 MB / 0.77 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.507e-05/0.7412, allocations: 8 kB / 0.77 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006916/0.7481, allocations: 1.36 MB / 0.7714 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.7496, allocations: 295.5 kB / 0.7717 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01493/0.7646, allocations: 6.376 MB / 0.7779 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.7663, allocations: 175.7 kB / 0.778 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.7664, allocations: 44 kB / 0.7781 GB, free: 11.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001794/0.7682, allocations: 0.8986 MB / 0.779 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.7685, allocations: 90.92 kB / 0.7791 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/0.7804, allocations: 3.328 MB / 0.7823 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.7804, allocations: 7.938 kB / 0.7823 GB, free: 6.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.7805, allocations: 4 kB / 0.7823 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.7805, allocations: 3.984 kB / 0.7823 GB, free: 6.723 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.7967, allocations: 5.485 MB / 0.7877 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/0.7967, allocations: 7.953 kB / 0.7877 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.7973, allocations: 108.1 kB / 0.7878 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009769/0.8071, allocations: 1.979 MB / 0.7897 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/0.8073, allocations: 16 kB / 0.7897 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02111/0.8285, allocations: 10.06 MB / 0.7996 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.573e-06/0.8285, allocations: 4 kB / 0.7996 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.8398, allocations: 3.305 MB / 0.8028 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009695/0.8408, allocations: 332 kB / 0.8031 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.841, allocations: 19.94 kB / 0.8031 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.8423, allocations: 151.8 kB / 0.8033 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/0.8426, allocations: 64.42 kB / 0.8033 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.613e-05/0.8427, allocations: 23.98 kB / 0.8034 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001298/0.844, allocations: 0.6668 MB / 0.804 GB, free: 24 kB / 0.6198 GB Notification: Performance of sort global known variables: time 7.77e-07/0.844, allocations: 0 / 0.804 GB, free: 24 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00311/0.8471, allocations: 0.6797 MB / 0.8047 GB, free: 15.34 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 40 * 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 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003245/0.8475, allocations: 143 kB / 0.8048 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0104/0.8579, allocations: 3.893 MB / 0.8086 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.858, allocations: 4.562 kB / 0.8086 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003129/0.8611, allocations: 1.325 MB / 0.8099 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.8626, allocations: 236 kB / 0.8101 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008616/0.8712, allocations: 4.061 MB / 0.8141 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002388/0.8737, allocations: 1.758 MB / 0.8158 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002033/0.8757, allocations: 0.5148 MB / 0.8163 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.876, allocations: 59.42 kB / 0.8164 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of SimCode: time 1.586e-06/0.876, allocations: 0 / 0.8164 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of Templates: time 0.07206/0.9481, allocations: 29.38 MB / 0.8451 GB, free: 6.023 MB / 0.6667 GB