Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.253/2.253, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002372/0.002372, allocations: 178.7 kB / 325.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.481/2.481, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 94.28 kB / 0.6811 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007156/0.0007155, allocations: 14.34 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2126, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.938/1.151, allocations: 164.7 MB / 1.06 GB, free: 64.89 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/1.151, allocations: 90.42 kB / 1.06 GB, free: 64.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7678/1.919, allocations: 200.1 MB / 1.255 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.427e-06/1.919, allocations: 0 / 1.255 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005196/1.919, allocations: 139.9 kB / 1.255 GB, free: 4.277 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02286/1.942, allocations: 4.749 MB / 1.26 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/1.942, allocations: 8.031 kB / 1.26 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/1.954, allocations: 1.055 MB / 1.261 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01353/1.967, allocations: 3.403 MB / 1.264 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007061/1.968, allocations: 415.1 kB / 1.265 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003226/1.971, allocations: 0.5388 MB / 1.265 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04182/2.013, allocations: 8.585 MB / 1.274 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004835/2.014, allocations: 35.66 kB / 1.274 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002908/2.017, allocations: 240 kB / 1.274 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007944/2.017, allocations: 314.8 kB / 1.274 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02879/2.046, allocations: 6.148 MB / 1.28 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08101/2.127, allocations: 40.11 MB / 1.319 GB, free: 14.41 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007455/2.135, allocations: 3.088 MB / 1.322 GB, free: 11.18 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/2.135, allocations: 22 kB / 1.322 GB, free: 11.16 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/2.135, allocations: 52.5 kB / 1.322 GB, free: 11.11 MB / 0.823 GB Notification: Performance of pre-optimization done (n=179): time 4.719e-06/2.135, allocations: 0 / 1.322 GB, free: 11.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.04459/2.18, allocations: 9.859 MB / 1.332 GB, free: 1.148 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/2.18, allocations: 73.41 kB / 1.332 GB, free: 1.062 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/2.183, allocations: 1.306 MB / 1.333 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004691/2.184, allocations: 49.7 kB / 1.333 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002194/2.186, allocations: 2.246 MB / 1.336 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/2.187, allocations: 0.6277 MB / 1.336 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/2.187, allocations: 48 kB / 1.336 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002584/2.188, allocations: 398.3 kB / 1.337 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002976/2.191, allocations: 1.164 MB / 1.338 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003627/2.194, allocations: 1.851 MB / 1.34 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003803/2.198, allocations: 1.501 MB / 1.341 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-05/2.198, allocations: 12 kB / 1.341 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01375/2.212, allocations: 4.539 MB / 1.346 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/2.212, allocations: 17.56 kB / 1.346 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/2.212, allocations: 20 kB / 1.346 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006937/2.219, allocations: 1.585 MB / 1.347 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/2.222, allocations: 343.4 kB / 1.347 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03927/2.261, allocations: 17.7 MB / 1.365 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/2.264, allocations: 115.9 kB / 1.365 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003504/2.264, allocations: 96 kB / 1.365 GB, free: 14.48 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (174): * Single equations (assignments): 170 * 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: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005654/2.27, allocations: 1.89 MB / 1.367 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007868/2.271, allocations: 221.4 kB / 1.367 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/2.283, allocations: 4.09 MB / 1.371 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/2.283, allocations: 19.98 kB / 1.371 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.486e-05/2.283, allocations: 20 kB / 1.371 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.536e-05/2.283, allocations: 7.969 kB / 1.371 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03444/2.318, allocations: 9.4 MB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.35e-05/2.318, allocations: 4 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/2.32, allocations: 187.7 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009156/2.329, allocations: 1.351 MB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005399/2.33, allocations: 35.94 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7879/3.118, allocations: 16.53 MB / 1.398 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/3.118, allocations: 5.562 kB / 1.398 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/3.13, allocations: 4.349 MB / 1.402 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/3.132, allocations: 0.5261 MB / 1.403 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006754/3.133, allocations: 35.48 kB / 1.403 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/3.135, allocations: 88.62 kB / 1.403 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007443/3.136, allocations: 162.6 kB / 1.403 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002047/3.136, allocations: 45.88 kB / 1.403 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00269/3.138, allocations: 0.9884 MB / 1.404 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.022e-06/3.138, allocations: 0 / 1.404 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006551/3.145, allocations: 1.037 MB / 1.405 GB, free: 209.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006849/3.146, allocations: 150.5 kB / 1.405 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01357/3.159, allocations: 4.263 MB / 1.409 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/3.159, allocations: 3.812 kB / 1.409 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007986/3.167, allocations: 2.669 MB / 1.412 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006108/3.174, allocations: 0.6786 MB / 1.413 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02643/3.2, allocations: 10.52 MB / 1.423 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008886/3.209, allocations: 3.661 MB / 1.426 GB, free: 203 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002836/3.212, allocations: 466.8 kB / 1.427 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005676/3.213, allocations: 122.6 kB / 1.427 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.202e-06/3.213, allocations: 0 / 1.427 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.1123/3.325, allocations: 41.14 MB / 1.467 GB, free: 201.7 MB / 0.8855 GB