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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008978/0.008983, allocations: 109.4 kB / 15.06 MB, free: 6.047 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.001178/0.001178, allocations: 183.7 kB / 15.95 MB, free: 5.961 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 1.876/1.876, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.527/2.527, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004924, allocations: 8 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5797/0.5802, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.02385/0.6041, allocations: 10.35 MB / 0.6935 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.6189, allocations: 4.932 MB / 0.6983 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.6201, allocations: 32.75 kB / 0.6983 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.6211, allocations: 323.8 kB / 0.6986 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.623, allocations: 0.5253 MB / 0.6991 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.6252, allocations: 0.5616 MB / 0.6997 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.6272, allocations: 1.144 MB / 0.7008 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006384/0.6336, allocations: 3.625 MB / 0.7043 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.6348, allocations: 0.6043 MB / 0.7049 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009722/0.6358, allocations: 0.6691 MB / 0.7056 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.6361, allocations: 98.28 kB / 0.7057 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.6371, allocations: 301.6 kB / 0.706 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0007233/0.6379, allocations: 0.6665 MB / 0.7066 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004392/0.6383, allocations: 344 kB / 0.7069 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.6417, allocations: 3.009 MB / 0.7099 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.665e-06/0.6417, allocations: 4 kB / 0.7099 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6417, allocations: 1.594 kB / 0.7099 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.016e-05/0.6418, allocations: 0 / 0.7099 GB, free: 15.82 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.00439/0.6462, allocations: 1.632 MB / 0.7115 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6462, allocations: 9.656 kB / 0.7115 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/0.6498, allocations: 0.4925 MB / 0.712 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/0.6531, allocations: 1.127 MB / 0.7131 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.6533, allocations: 122.3 kB / 0.7132 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005171/0.6538, allocations: 150.5 kB / 0.7133 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00763/0.6615, allocations: 2.717 MB / 0.716 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.655e-05/0.6616, allocations: 14.22 kB / 0.716 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.6619, allocations: 65.64 kB / 0.716 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004817/0.6624, allocations: 176.2 kB / 0.7162 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006295/0.6687, allocations: 2.286 MB / 0.7184 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01888/0.6876, allocations: 10.53 MB / 0.7287 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.6891, allocations: 0.5804 MB / 0.7293 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.6893, allocations: 89.09 kB / 0.7294 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.6894, allocations: 38.56 kB / 0.7294 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=36): time 3.98e-06/0.6894, allocations: 0 / 0.7294 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.02627/0.7157, allocations: 6.291 MB / 0.7356 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.7158, allocations: 81.55 kB / 0.7356 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.7175, allocations: 0.8984 MB / 0.7365 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.7177, allocations: 29.7 kB / 0.7365 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007136/0.7184, allocations: 0.7577 MB / 0.7373 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.7187, allocations: 189.4 kB / 0.7375 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.7188, allocations: 16 kB / 0.7375 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002611/0.7191, allocations: 390.8 kB / 0.7379 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.7206, allocations: 0.646 MB / 0.7385 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.7227, allocations: 1.011 MB / 0.7395 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.7246, allocations: 0.8141 MB / 0.7403 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.7247, allocations: 7.938 kB / 0.7403 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01161/0.7363, allocations: 3.229 MB / 0.7434 GB, free: 15.39 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002429/0.7387, allocations: 4.523 MB / 0.7478 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.7388, allocations: 12 kB / 0.7479 GB, free: 10.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00986/0.7487, allocations: 1.86 MB / 0.7497 GB, free: 8.625 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.7499, allocations: 227.6 kB / 0.7499 GB, free: 8.402 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02029/0.7702, allocations: 10.51 MB / 0.7602 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.7719, allocations: 175.5 kB / 0.7603 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.7721, allocations: 44 kB / 0.7604 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7721, allocations: 8.062 kB / 0.7604 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009412/0.7816, allocations: 2.625 MB / 0.7629 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.567e-05/0.7817, allocations: 12 kB / 0.7629 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006442/0.7881, allocations: 1.196 MB / 0.7641 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.7895, allocations: 259.5 kB / 0.7644 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.8004, allocations: 5.699 MB / 0.7699 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.8019, allocations: 155.7 kB / 0.7701 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.8021, allocations: 36 kB / 0.7701 GB, free: 2.879 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001673/0.8038, allocations: 0.8518 MB / 0.7709 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.804, allocations: 79.06 kB / 0.771 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.8141, allocations: 2.688 MB / 0.7736 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.8142, allocations: 8 kB / 0.7736 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.216e-06/0.8142, allocations: 0 / 0.7736 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.8142, allocations: 3.984 kB / 0.7737 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.8283, allocations: 4.551 MB / 0.7781 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.8284, allocations: 4 kB / 0.7781 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/0.829, allocations: 95.86 kB / 0.7782 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008825/0.8378, allocations: 1.701 MB / 0.7799 GB, free: 8.742 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.838, allocations: 11.98 kB / 0.7799 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/0.856, allocations: 10.05 MB / 0.7897 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.278e-06/0.8561, allocations: 7.969 kB / 0.7897 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00984/0.8659, allocations: 2.747 MB / 0.7924 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007963/0.8668, allocations: 284 kB / 0.7926 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.867, allocations: 23.94 kB / 0.7927 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.868, allocations: 131.8 kB / 0.7928 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.8683, allocations: 51.88 kB / 0.7928 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/0.8684, allocations: 16 kB / 0.7929 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001198/0.8696, allocations: 0.6356 MB / 0.7935 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.54e-07/0.8696, allocations: 0 / 0.7935 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002604/0.8722, allocations: 0.582 MB / 0.794 GB, free: 9.559 MB / 0.6198 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): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002863/0.8725, allocations: 131.2 kB / 0.7942 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007305/0.8798, allocations: 3.25 MB / 0.7973 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.784e-06/0.8799, allocations: 0 / 0.7973 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002736/0.8826, allocations: 1.296 MB / 0.7986 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.8839, allocations: 211 kB / 0.7988 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00703/0.891, allocations: 3.538 MB / 0.8023 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/0.8931, allocations: 1.649 MB / 0.8039 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001824/0.895, allocations: 498.3 kB / 0.8043 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.8952, allocations: 51.44 kB / 0.8044 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of SimCode: time 1.729e-06/0.8952, allocations: 0 / 0.8044 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.05275/0.948, allocations: 23.34 MB / 0.8272 GB, free: 7.523 MB / 0.6511 GB