Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.935/4.935, allocations: 0.5623 GB / 0.577 GB, free: 3.398 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.0024/0.0024, allocations: 356.1 kB / 0.644 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.2/4.2, allocations: 410.7 MB / 1.112 GB, free: 6.027 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.002876/0.002876, allocations: 183.9 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004899, allocations: 16 kB / 1.348 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6129, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02452/0.6374, allocations: 21.23 MB / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.6556, allocations: 6.211 MB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003465/0.6591, allocations: 75.56 kB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.6614, allocations: 436.8 kB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007826/0.6693, allocations: 1.592 MB / 1.49 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005369/0.6747, allocations: 0.9246 MB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01457/0.6893, allocations: 8.191 MB / 1.498 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0221/0.7115, allocations: 7.077 MB / 1.505 GB, free: 238.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006114/0.7177, allocations: 2.082 MB / 1.507 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008139/0.7259, allocations: 3.126 MB / 1.51 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.7276, allocations: 248 kB / 1.511 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.7304, allocations: 0.5812 MB / 1.511 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0027/0.7332, allocations: 2.093 MB / 1.513 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.7347, allocations: 0.8433 MB / 1.514 GB, free: 229.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006966/0.7417, allocations: 6.999 MB / 1.521 GB, free: 222.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.7417, allocations: 3.938 kB / 1.521 GB, free: 222.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7417, allocations: 0 / 1.521 GB, free: 222.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001701/0.7419, allocations: 0 / 1.521 GB, free: 222.9 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007174/0.7491, allocations: 3.609 MB / 1.525 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.7492, allocations: 11.62 kB / 1.525 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.7601, allocations: 1.859 MB / 1.526 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005375/0.7655, allocations: 2.501 MB / 1.529 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.7657, allocations: 279.3 kB / 1.529 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.7668, allocations: 356.5 kB / 1.529 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.7817, allocations: 7.451 MB / 1.537 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/0.7819, allocations: 15.84 kB / 1.537 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006787/0.7826, allocations: 163.9 kB / 1.537 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006071/0.7832, allocations: 494 kB / 1.537 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/0.7954, allocations: 5.681 MB / 1.543 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04315/0.8386, allocations: 31.65 MB / 1.574 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/0.842, allocations: 2.076 MB / 1.576 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/0.8454, allocations: 2.183 MB / 1.578 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.8456, allocations: 21.19 kB / 1.578 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.8456, allocations: 47.88 kB / 1.578 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 4.661e-06/0.8456, allocations: 0 / 1.578 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.363/1.209, allocations: 75.25 MB / 1.651 GB, free: 86 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/1.209, allocations: 77.41 kB / 1.652 GB, free: 85.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/1.211, allocations: 1.658 MB / 1.653 GB, free: 84.21 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005149/1.212, allocations: 69.7 kB / 1.653 GB, free: 84.14 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009955/1.213, allocations: 1.747 MB / 1.655 GB, free: 82.37 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.214, allocations: 0.851 MB / 1.656 GB, free: 81.51 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/1.214, allocations: 52 kB / 1.656 GB, free: 81.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.215, allocations: 411.2 kB / 1.656 GB, free: 81.05 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004866/1.219, allocations: 2.722 MB / 1.659 GB, free: 78.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005374/1.225, allocations: 3.32 MB / 1.662 GB, free: 74.76 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005351/1.23, allocations: 3.055 MB / 1.665 GB, free: 71.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/1.23, allocations: 4 kB / 1.665 GB, free: 71.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03908/1.269, allocations: 14.64 MB / 1.679 GB, free: 57.01 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/1.269, allocations: 12 kB / 1.679 GB, free: 57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/1.269, allocations: 19.98 kB / 1.679 GB, free: 56.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03643/1.306, allocations: 9.231 MB / 1.688 GB, free: 47.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/1.307, allocations: 295.5 kB / 1.689 GB, free: 47.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6209/1.928, allocations: 47.07 MB / 1.735 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/1.932, allocations: 224.1 kB / 1.735 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000592/1.932, allocations: 96.66 kB / 1.735 GB, free: 244.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003623/1.936, allocations: 1.586 MB / 1.737 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000702/1.937, allocations: 244.5 kB / 1.737 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04249/1.979, allocations: 14.72 MB / 1.751 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/1.979, allocations: 29.48 kB / 1.751 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001698/1.979, allocations: 43.88 kB / 1.751 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.686e-05/1.979, allocations: 17.48 kB / 1.751 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05354/2.033, allocations: 20.47 MB / 1.771 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/2.033, allocations: 5.406 kB / 1.771 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009526/2.034, allocations: 170.3 kB / 1.771 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03855/2.073, allocations: 8.998 MB / 1.78 GB, free: 229.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006125/2.073, allocations: 52.73 kB / 1.78 GB, free: 229.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0841/2.157, allocations: 46.69 MB / 1.826 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.406e-06/2.157, allocations: 11.94 kB / 1.826 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03671/2.194, allocations: 14.32 MB / 1.84 GB, free: 168 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/2.196, allocations: 0.8492 MB / 1.841 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006218/2.197, allocations: 48 kB / 1.841 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00252/2.2, allocations: 211.7 kB / 1.841 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001322/2.201, allocations: 236.8 kB / 1.841 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003408/2.201, allocations: 68 kB / 1.841 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001809/2.203, allocations: 1.113 MB / 1.842 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-06/2.203, allocations: 0 / 1.842 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005421/2.208, allocations: 1.594 MB / 1.844 GB, free: 163.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000555/2.209, allocations: 166.7 kB / 1.844 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02466/2.234, allocations: 10.35 MB / 1.854 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.653e-06/2.234, allocations: 0.875 kB / 1.854 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.02204/2.256, allocations: 7.151 MB / 1.861 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0061/2.262, allocations: 0.5138 MB / 1.862 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/2.28, allocations: 10.18 MB / 1.872 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004427/2.284, allocations: 3.305 MB / 1.875 GB, free: 132 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001448/2.286, allocations: 386.5 kB / 1.875 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/2.286, allocations: 99.44 kB / 1.875 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.984e-06/2.286, allocations: 0 / 1.875 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.1509/2.437, allocations: 84.29 MB / 1.958 GB, free: 47.73 MB / 0.8542 GB