Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 288.4 MB / 303.7 MB, free: 8.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 180.5 kB / 372.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 0.631 GB, free: 13.44 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008058/0.0008059, allocations: 84.61 kB / 0.7444 GB, free: 64.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 16 kB / 0.8675 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.24, allocations: 115.3 MB / 0.9801 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01018/0.2502, allocations: 9.073 MB / 0.989 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005902/0.2562, allocations: 3.059 MB / 0.992 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.2574, allocations: 23.88 kB / 0.992 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008381/0.2583, allocations: 186.6 kB / 0.9922 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.2603, allocations: 0.6613 MB / 0.9928 GB, free: 24 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.2621, allocations: 0.5381 MB / 0.9934 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003731/0.2658, allocations: 3.514 MB / 0.9968 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004816/0.2706, allocations: 3.116 MB / 0.9998 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.2727, allocations: 0.9536 MB / 1.001 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.275, allocations: 1.433 MB / 1.002 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.2753, allocations: 116 kB / 1.002 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.2766, allocations: 447.3 kB / 1.003 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.2777, allocations: 0.9158 MB / 1.004 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.2788, allocations: 0.9312 MB / 1.005 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003398/0.2822, allocations: 3.008 MB / 1.007 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.2822, allocations: 0 / 1.007 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.677e-06/0.2822, allocations: 0 / 1.007 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.607e-05/0.2823, allocations: 0 / 1.007 GB, free: 0.9648 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003934/0.2862, allocations: 1.76 MB / 1.009 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.2863, allocations: 16.03 kB / 1.009 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008367/0.2947, allocations: 1.309 MB / 1.01 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.2973, allocations: 1.255 MB / 1.012 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.467e-05/0.2974, allocations: 119.3 kB / 1.012 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.2978, allocations: 144.3 kB / 1.012 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005043/0.3028, allocations: 3.437 MB / 1.015 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.3029, allocations: 7.938 kB / 1.015 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.3031, allocations: 59.97 kB / 1.015 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002324/0.3033, allocations: 207.1 kB / 1.016 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004687/0.308, allocations: 3.12 MB / 1.019 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4346/0.7426, allocations: 13.58 MB / 1.032 GB, free: 92.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.7452, allocations: 1.718 MB / 1.034 GB, free: 92.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/0.7474, allocations: 1.43 MB / 1.035 GB, free: 92.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.254e-05/0.7475, allocations: 11.81 kB / 1.035 GB, free: 92.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.7475, allocations: 43.97 kB / 1.035 GB, free: 92.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 3.126e-06/0.7475, allocations: 0.75 kB / 1.035 GB, free: 92.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.1316/0.8791, allocations: 35.94 MB / 1.07 GB, free: 88.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.8792, allocations: 72.97 kB / 1.07 GB, free: 88.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.8805, allocations: 1.046 MB / 1.071 GB, free: 88.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/0.8808, allocations: 55.67 kB / 1.071 GB, free: 88.17 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.8811, allocations: 0.7853 MB / 1.072 GB, free: 87.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/0.8816, allocations: 0.6241 MB / 1.073 GB, free: 87.08 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.8817, allocations: 37.56 kB / 1.073 GB, free: 87.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8818, allocations: 388.5 kB / 1.073 GB, free: 86.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.8841, allocations: 1.924 MB / 1.075 GB, free: 86.05 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/0.8864, allocations: 2.283 MB / 1.077 GB, free: 85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00494/0.8913, allocations: 4.384 MB / 1.081 GB, free: 83.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.8914, allocations: 3.125 kB / 1.081 GB, free: 83.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01792/0.9093, allocations: 8.998 MB / 1.09 GB, free: 80.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.9094, allocations: 9.375 kB / 1.09 GB, free: 80.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.9094, allocations: 10.19 kB / 1.09 GB, free: 80.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01601/0.9254, allocations: 4.973 MB / 1.095 GB, free: 79.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008585/0.9263, allocations: 188.2 kB / 1.095 GB, free: 79.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05161/0.9779, allocations: 35.08 MB / 1.129 GB, free: 63.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.9799, allocations: 105.6 kB / 1.13 GB, free: 63.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.9802, allocations: 64.28 kB / 1.13 GB, free: 63.1 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00151/0.9817, allocations: 0.8023 MB / 1.13 GB, free: 62.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.982, allocations: 139.2 kB / 1.131 GB, free: 62.65 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/1.001, allocations: 8.884 MB / 1.139 GB, free: 58.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/1.001, allocations: 20.62 kB / 1.139 GB, free: 58.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.516e-05/1.001, allocations: 32.28 kB / 1.139 GB, free: 58.97 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-05/1.001, allocations: 12.7 kB / 1.139 GB, free: 58.96 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02348/1.025, allocations: 13.25 MB / 1.152 GB, free: 48.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/1.025, allocations: 4 kB / 1.152 GB, free: 48.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/1.025, allocations: 125.8 kB / 1.152 GB, free: 48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01539/1.041, allocations: 4.751 MB / 1.157 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003759/1.041, allocations: 32.56 kB / 1.157 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04054/1.082, allocations: 31.42 MB / 1.188 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.082, allocations: 4 kB / 1.188 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/1.099, allocations: 8.397 MB / 1.196 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.101, allocations: 0.6163 MB / 1.197 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/1.101, allocations: 32.69 kB / 1.197 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.102, allocations: 88.55 kB / 1.197 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008239/1.103, allocations: 173.3 kB / 1.197 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.103, allocations: 44 kB / 1.197 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008128/1.104, allocations: 0.7304 MB / 1.198 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.104, allocations: 4 kB / 1.198 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003474/1.108, allocations: 0.9961 MB / 1.199 GB, free: 68 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000348/1.108, allocations: 147.7 kB / 1.199 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.118, allocations: 5.813 MB / 1.204 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.118, allocations: 4.188 kB / 1.204 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007918/1.126, allocations: 3.782 MB / 1.208 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/1.128, allocations: 229.5 kB / 1.208 GB, free: 6.004 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008284/1.137, allocations: 5.616 MB / 1.214 GB, free: 372 kB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/1.138, allocations: 1.852 MB / 1.216 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0009972/1.139, allocations: 357.4 kB / 1.216 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/1.14, allocations: 63.38 kB / 1.216 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/1.14, allocations: 0 / 1.216 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.08338/1.223, allocations: 54.44 MB / 1.269 GB, free: 7.812 MB / 0.823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)