Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.846/4.846, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002548/0.002548, allocations: 358 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.279/4.279, allocations: 410.7 MB / 1.113 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00184/0.00184, allocations: 186.8 kB / 1.226 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004935, allocations: 15.94 kB / 1.349 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7266/0.7271, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2614/0.9886, allocations: 191.6 MB / 1.648 GB, free: 92.53 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/0.989, allocations: 111.7 kB / 1.649 GB, free: 92.42 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2855/1.275, allocations: 63.97 MB / 1.711 GB, free: 28.14 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.006e-06/1.275, allocations: 0 / 1.711 GB, free: 28.14 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001584/1.275, allocations: 35.88 kB / 1.711 GB, free: 28.11 MB / 0.8542 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.007573/1.282, allocations: 1.663 MB / 1.713 GB, free: 26.39 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.282, allocations: 11.62 kB / 1.713 GB, free: 26.38 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004484/1.287, allocations: 0.4897 MB / 1.713 GB, free: 25.89 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/1.29, allocations: 1.147 MB / 1.714 GB, free: 24.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/1.29, allocations: 127.1 kB / 1.714 GB, free: 24.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005069/1.291, allocations: 144 kB / 1.715 GB, free: 24.43 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006602/1.298, allocations: 2.497 MB / 1.717 GB, free: 21.87 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.332e-05/1.298, allocations: 3.906 kB / 1.717 GB, free: 21.87 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002846/1.298, allocations: 67.98 kB / 1.717 GB, free: 21.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/1.298, allocations: 83.06 kB / 1.717 GB, free: 21.72 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005747/1.304, allocations: 2.046 MB / 1.719 GB, free: 19.67 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01702/1.321, allocations: 10.51 MB / 1.729 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/1.323, allocations: 0.5796 MB / 1.73 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009368/1.324, allocations: 390.9 kB / 1.73 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/1.324, allocations: 101 kB / 1.73 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/1.324, allocations: 42.5 kB / 1.73 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 2.976e-06/1.324, allocations: 0 / 1.73 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of matching and sorting (n=52): time 0.03645/1.36, allocations: 6.246 MB / 1.737 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/1.361, allocations: 85.55 kB / 1.737 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6712/2.032, allocations: 0.8859 MB / 1.738 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/2.032, allocations: 34.52 kB / 1.738 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00091/2.033, allocations: 0.7534 MB / 1.738 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/2.033, allocations: 189.5 kB / 1.738 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/2.033, allocations: 15.03 kB / 1.738 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002242/2.034, allocations: 397.2 kB / 1.739 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/2.036, allocations: 0.6342 MB / 1.739 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/2.038, allocations: 1 MB / 1.74 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/2.04, allocations: 0.8094 MB / 1.741 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/2.04, allocations: 3.969 kB / 1.741 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01751/2.058, allocations: 3.197 MB / 1.744 GB, free: 230.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003674/2.058, allocations: 437.4 kB / 1.745 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/2.058, allocations: 12.56 kB / 1.745 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01507/2.074, allocations: 1.856 MB / 1.747 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/2.075, allocations: 224.7 kB / 1.747 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02181/2.097, allocations: 10.17 MB / 1.757 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/2.099, allocations: 178.1 kB / 1.757 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/2.1, allocations: 43.42 kB / 1.757 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/2.1, allocations: 7.312 kB / 1.757 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01235/2.112, allocations: 2.608 MB / 1.76 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-05/2.112, allocations: 14.88 kB / 1.76 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00949/2.122, allocations: 1.2 MB / 1.761 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/2.123, allocations: 254.7 kB / 1.761 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/2.137, allocations: 5.73 MB / 1.767 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/2.139, allocations: 153.2 kB / 1.767 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/2.139, allocations: 43.08 kB / 1.767 GB, free: 222.1 MB / 0.8542 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.00187/2.141, allocations: 0.8448 MB / 1.768 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/2.141, allocations: 82.06 kB / 1.768 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/2.155, allocations: 2.675 MB / 1.77 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/2.155, allocations: 7.859 kB / 1.77 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/2.155, allocations: 4.75 kB / 1.77 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/2.155, allocations: 0 / 1.77 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/2.173, allocations: 4.615 MB / 1.775 GB, free: 220.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/2.173, allocations: 0 / 1.775 GB, free: 220.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/2.174, allocations: 97.75 kB / 1.775 GB, free: 220.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01277/2.187, allocations: 1.702 MB / 1.777 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/2.187, allocations: 15.22 kB / 1.777 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/2.205, allocations: 9.712 MB / 1.786 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/2.205, allocations: 0 / 1.786 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/2.218, allocations: 2.636 MB / 1.789 GB, free: 212.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/2.219, allocations: 283.5 kB / 1.789 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/2.22, allocations: 15.38 kB / 1.789 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/2.221, allocations: 130.1 kB / 1.789 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/2.221, allocations: 51.33 kB / 1.789 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/2.221, allocations: 17.28 kB / 1.789 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001263/2.223, allocations: 0.6363 MB / 1.79 GB, free: 212.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.513e-06/2.223, allocations: 0 / 1.79 GB, free: 212.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003215/2.226, allocations: 0.6256 MB / 1.79 GB, free: 212.2 MB / 0.8542 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.0004501/2.227, allocations: 180.4 kB / 1.79 GB, free: 212.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009736/2.236, allocations: 3.372 MB / 1.794 GB, free: 210.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/2.236, allocations: 0 / 1.794 GB, free: 210.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003128/2.239, allocations: 1.274 MB / 1.795 GB, free: 210 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/2.242, allocations: 221.8 kB / 1.795 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007589/2.249, allocations: 3.549 MB / 1.799 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/2.251, allocations: 1.65 MB / 1.8 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002161/2.253, allocations: 488.4 kB / 1.801 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/2.254, allocations: 57.47 kB / 1.801 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.603e-06/2.254, allocations: 0 / 1.801 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.05484/2.308, allocations: 23.71 MB / 1.824 GB, free: 191 MB / 0.8542 GB