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 2.595/2.595, allocations: 287.9 MB / 302.9 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 187.5 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.277/2.277, allocations: 205.4 MB / 0.6301 GB, free: 10.36 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 101.3 kB / 0.7434 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.000476, allocations: 17.08 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1774, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02182/0.1993, allocations: 20.47 MB / 0.9988 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.2099, allocations: 6.274 MB / 1.005 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.2119, allocations: 75.5 kB / 1.005 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.2135, allocations: 465.1 kB / 1.005 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004272/0.2178, allocations: 1.2 MB / 1.007 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.2214, allocations: 0.9189 MB / 1.007 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006095/0.2275, allocations: 3.212 MB / 1.011 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01444/0.242, allocations: 7.085 MB / 1.018 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.2457, allocations: 1.725 MB / 1.019 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004027/0.2497, allocations: 2.072 MB / 1.021 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.2509, allocations: 248 kB / 1.021 GB, free: 332 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.2545, allocations: 491.5 kB / 1.022 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.004882/0.2594, allocations: 1.918 MB / 1.024 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002857/0.2624, allocations: 0.8433 MB / 1.025 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.2778, allocations: 6.892 MB / 1.031 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.623e-06/0.2779, allocations: 0 / 1.031 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.575e-06/0.2779, allocations: 0 / 1.031 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001664/0.2781, allocations: 0 / 1.031 GB, free: 6.16 MB / 0.6511 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.01569/0.2938, allocations: 3.586 MB / 1.035 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.2939, allocations: 16.02 kB / 1.035 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.3088, allocations: 1.785 MB / 1.037 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006488/0.3153, allocations: 2.509 MB / 1.039 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/0.3157, allocations: 275.3 kB / 1.039 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/0.317, allocations: 359.9 kB / 1.04 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0316/0.3487, allocations: 7.42 MB / 1.047 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002022/0.3489, allocations: 19.78 kB / 1.047 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001504/0.3504, allocations: 155.9 kB / 1.047 GB, free: 5.656 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001444/0.3519, allocations: 491.1 kB / 1.048 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02189/0.3738, allocations: 5.681 MB / 1.053 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.561/0.9348, allocations: 31.64 MB / 1.084 GB, free: 64.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004169/0.9391, allocations: 2.088 MB / 1.086 GB, free: 63.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.9393, allocations: 17.11 kB / 1.086 GB, free: 63.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.9394, allocations: 52.41 kB / 1.086 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 5.027e-06/0.9394, allocations: 3.375 kB / 1.086 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.3421/1.281, allocations: 75.25 MB / 1.16 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/1.282, allocations: 81.41 kB / 1.16 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/1.284, allocations: 1.65 MB / 1.161 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005469/1.285, allocations: 65.7 kB / 1.161 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009622/1.286, allocations: 1.738 MB / 1.163 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.287, allocations: 0.8563 MB / 1.164 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/1.287, allocations: 56 kB / 1.164 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.287, allocations: 407.2 kB / 1.164 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/1.292, allocations: 2.718 MB / 1.167 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00515/1.297, allocations: 3.316 MB / 1.17 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005324/1.302, allocations: 3.059 MB / 1.173 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/1.303, allocations: 4 kB / 1.173 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.04496/1.348, allocations: 14.65 MB / 1.188 GB, free: 2.422 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/1.348, allocations: 12 kB / 1.188 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/1.348, allocations: 20 kB / 1.188 GB, free: 2.391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04175/1.389, allocations: 9.23 MB / 1.197 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/1.391, allocations: 299.5 kB / 1.197 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1175/1.508, allocations: 49.58 MB / 1.245 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/1.512, allocations: 219.7 kB / 1.245 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006219/1.512, allocations: 99.98 kB / 1.246 GB, free: 6.129 MB / 0.7605 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.004055/1.516, allocations: 1.584 MB / 1.247 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008179/1.517, allocations: 249 kB / 1.247 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1079/1.625, allocations: 14.71 MB / 1.262 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.627e-05/1.625, allocations: 24 kB / 1.262 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002472/1.626, allocations: 47.95 kB / 1.262 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.578e-05/1.626, allocations: 15.95 kB / 1.262 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07423/1.7, allocations: 20.49 MB / 1.282 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/1.7, allocations: 4.844 kB / 1.282 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009762/1.701, allocations: 167.7 kB / 1.282 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04938/1.75, allocations: 9.005 MB / 1.291 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006366/1.751, allocations: 48 kB / 1.291 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1237/1.875, allocations: 49.2 MB / 1.339 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-05/1.875, allocations: 11.94 kB / 1.339 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04328/1.918, allocations: 14.77 MB / 1.353 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00285/1.921, allocations: 0.8493 MB / 1.354 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007245/1.922, allocations: 52.09 kB / 1.354 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/1.925, allocations: 207.6 kB / 1.354 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001437/1.926, allocations: 249.3 kB / 1.355 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003636/1.926, allocations: 67.98 kB / 1.355 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00227/1.929, allocations: 1.11 MB / 1.356 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.074e-06/1.929, allocations: 0 / 1.356 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00611/1.935, allocations: 1.605 MB / 1.357 GB, free: 2.199 MB / 0.8698 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.0006607/1.935, allocations: 159.9 kB / 1.357 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02979/1.965, allocations: 10.32 MB / 1.368 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.965, allocations: 0 / 1.368 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0227/1.988, allocations: 7.155 MB / 1.375 GB, free: 428 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.991, allocations: 490.2 kB / 1.375 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/2.013, allocations: 10.27 MB / 1.385 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006567/2.019, allocations: 3.295 MB / 1.388 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001677/2.021, allocations: 395.3 kB / 1.389 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/2.021, allocations: 95.44 kB / 1.389 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of SimCode: time 1.534e-06/2.021, allocations: 0 / 1.389 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of Templates: time 0.9/2.921, allocations: 84.26 MB / 1.471 GB, free: 295.8 MB / 0.9323 GB