Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.18/2.18, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001532/0.001532, allocations: 199.3 kB / 325.6 MB, free: 2.848 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.46/2.46, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.00158/0.00158, allocations: 97.92 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.000467, allocations: 12.62 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2463, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04808/0.2944, allocations: 33.22 MB / 0.9313 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02803/0.3225, allocations: 12.84 MB / 0.9439 GB, free: 19.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004448/0.327, allocations: 87.69 kB / 0.9439 GB, free: 19.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.3303, allocations: 0.7219 MB / 0.9447 GB, free: 18.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006808/0.3372, allocations: 1.46 MB / 0.9461 GB, free: 17.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.008895/0.3461, allocations: 2.111 MB / 0.9481 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006318/0.3524, allocations: 2.964 MB / 0.951 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.019/0.3715, allocations: 10.04 MB / 0.9608 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.3745, allocations: 1.523 MB / 0.9623 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004252/0.3788, allocations: 1.694 MB / 0.964 GB, free: 14.63 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.38, allocations: 252 kB / 0.9642 GB, free: 14.38 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.3823, allocations: 0.5307 MB / 0.9647 GB, free: 13.85 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.003231/0.3855, allocations: 1.836 MB / 0.9665 GB, free: 12.01 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.3871, allocations: 0.82 MB / 0.9673 GB, free: 11.18 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.3993, allocations: 7.617 MB / 0.9748 GB, free: 3.543 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3994, allocations: 3.938 kB / 0.9748 GB, free: 3.539 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.816e-06/0.3994, allocations: 0 / 0.9748 GB, free: 3.539 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0002568/0.3996, allocations: 0 / 0.9748 GB, free: 3.539 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01195/0.4116, allocations: 3.44 MB / 0.9781 GB, free: 32 kB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4117, allocations: 8.031 kB / 0.9781 GB, free: 24 kB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007375/0.4191, allocations: 0.9981 MB / 0.9791 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007038/0.4261, allocations: 2.151 MB / 0.9812 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000487/0.4267, allocations: 324.6 kB / 0.9815 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/0.4285, allocations: 431.9 kB / 0.9819 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0222/0.4508, allocations: 7.299 MB / 0.9891 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001814/0.451, allocations: 11.88 kB / 0.9891 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001141/0.4521, allocations: 184 kB / 0.9893 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005565/0.4527, allocations: 290.9 kB / 0.9895 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/0.4776, allocations: 5.928 MB / 0.9953 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08183/0.5595, allocations: 32.61 MB / 1.027 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008008/0.5676, allocations: 2.119 MB / 1.029 GB, free: 8.504 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003417/0.568, allocations: 98.08 kB / 1.029 GB, free: 8.391 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/0.5681, allocations: 43.56 kB / 1.029 GB, free: 8.34 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=98): time 8.306e-06/0.5681, allocations: 4 kB / 1.029 GB, free: 8.336 MB / 0.6824 GB Notification: Performance of matching and sorting (n=101): time 0.01786/0.586, allocations: 5.23 MB / 1.034 GB, free: 3.059 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.5862, allocations: 141.5 kB / 1.035 GB, free: 2.891 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/0.5905, allocations: 1.441 MB / 1.036 GB, free: 1.438 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0003991/0.591, allocations: 49.7 kB / 1.036 GB, free: 1.383 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.00254/0.5935, allocations: 1.863 MB / 1.038 GB, free: 15.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000946/0.5945, allocations: 370.9 kB / 1.038 GB, free: 15.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.595, allocations: 43.94 kB / 1.038 GB, free: 15.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003604/0.5953, allocations: 394 kB / 1.039 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004514/0.5999, allocations: 1.097 MB / 1.04 GB, free: 13.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006113/0.606, allocations: 2.165 MB / 1.042 GB, free: 10.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005816/0.6119, allocations: 1.533 MB / 1.043 GB, free: 9.367 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-05/0.612, allocations: 16 kB / 1.043 GB, free: 9.352 MB / 0.698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01095/0.623, allocations: 3.288 MB / 1.047 GB, free: 6.055 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.7432/1.366, allocations: 13.41 MB / 1.06 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-05/1.366, allocations: 32.53 kB / 1.06 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-05/1.367, allocations: 52.97 kB / 1.06 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004464/1.371, allocations: 0.6233 MB / 1.06 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.939e-05/1.371, allocations: 71.02 kB / 1.06 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/1.375, allocations: 307.6 kB / 1.061 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004138/1.375, allocations: 119.5 kB / 1.061 GB, free: 129.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.375, allocations: 3 kB / 1.061 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006501/1.382, allocations: 2.732 MB / 1.064 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001047/1.382, allocations: 35 kB / 1.064 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.057e-05/1.382, allocations: 52.12 kB / 1.064 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003715/1.385, allocations: 0.5566 MB / 1.064 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.74e-05/1.386, allocations: 71.95 kB / 1.064 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/1.388, allocations: 235 kB / 1.064 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004926/1.389, allocations: 109.6 kB / 1.065 GB, free: 129.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005386/1.394, allocations: 1.704 MB / 1.066 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007713/1.395, allocations: 161.8 kB / 1.066 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00952/1.405, allocations: 2.228 MB / 1.069 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-05/1.405, allocations: 11.44 kB / 1.069 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/1.405, allocations: 1.719 kB / 1.069 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.753e-05/1.405, allocations: 6.453 kB / 1.069 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0367/1.442, allocations: 10.97 MB / 1.079 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.935e-05/1.442, allocations: 12.09 kB / 1.079 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003888/1.446, allocations: 392.9 kB / 1.08 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.304e-05/1.446, allocations: 18.12 kB / 1.08 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/1.446, allocations: 31.5 kB / 1.08 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.762e-05/1.446, allocations: 22.45 kB / 1.08 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-05/1.446, allocations: 17.66 kB / 1.08 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007271/1.453, allocations: 3.467 MB / 1.083 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/1.455, allocations: 473.9 kB / 1.084 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004899/1.456, allocations: 31.78 kB / 1.084 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/1.459, allocations: 169.4 kB / 1.084 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005844/1.459, allocations: 101.5 kB / 1.084 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.459, allocations: 39.47 kB / 1.084 GB, free: 124.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002738/1.462, allocations: 0.9611 MB / 1.085 GB, free: 124 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.52e-07/1.462, allocations: 0 / 1.085 GB, free: 124 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009007/1.471, allocations: 1.124 MB / 1.086 GB, free: 123.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005611/1.472, allocations: 155.2 kB / 1.086 GB, free: 123.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01374/1.486, allocations: 3.96 MB / 1.09 GB, free: 122.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.416e-05/1.486, allocations: 0 / 1.09 GB, free: 122.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/1.489, allocations: 1.065 MB / 1.091 GB, free: 122 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/1.494, allocations: 380.2 kB / 1.091 GB, free: 121.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/1.519, allocations: 8.472 MB / 1.1 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00607/1.525, allocations: 2.939 MB / 1.102 GB, free: 112.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005297/1.53, allocations: 1.202 MB / 1.104 GB, free: 111.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009583/1.531, allocations: 123.4 kB / 1.104 GB, free: 111.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.473e-06/1.531, allocations: 0 / 1.104 GB, free: 111.3 MB / 0.698 GB Notification: Performance of Templates: time 0.05999/1.591, allocations: 22.88 MB / 1.126 GB, free: 88.62 MB / 0.698 GB