Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007965/0.007965, allocations: 100.6 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.799/1.799, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001513, allocations: 71.91 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2751, allocations: 104.7 MB / 0.8281 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02728/0.3024, allocations: 23.4 MB / 0.8509 GB, free: 8.738 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.3152, allocations: 6.535 MB / 0.8573 GB, free: 2.18 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/0.3183, allocations: 99.5 kB / 0.8574 GB, free: 2.082 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004599/0.3229, allocations: 1.488 MB / 0.8588 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00569/0.3286, allocations: 1.933 MB / 0.8607 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004323/0.333, allocations: 1.454 MB / 0.8621 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008858/0.3419, allocations: 6.861 MB / 0.8688 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009505/0.3514, allocations: 6.937 MB / 0.8756 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006624/0.3581, allocations: 2.855 MB / 0.8784 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007145/0.3653, allocations: 3.478 MB / 0.8818 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002095/0.3674, allocations: 0.5273 MB / 0.8823 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.3711, allocations: 1.174 MB / 0.8835 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003503/0.3747, allocations: 2.448 MB / 0.8859 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00521/0.3799, allocations: 2.524 MB / 0.8883 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0098/0.3897, allocations: 8.507 MB / 0.8966 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3898, allocations: 0 / 0.8966 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3898, allocations: 0 / 0.8966 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002331/0.39, allocations: 8 kB / 0.8966 GB, free: 9.707 MB / 0.7169 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.009583/0.3996, allocations: 4.42 MB / 0.901 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.3997, allocations: 8.031 kB / 0.901 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007935/0.4076, allocations: 1.685 MB / 0.9026 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005677/0.4133, allocations: 2.7 MB / 0.9052 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.4136, allocations: 275.7 kB / 0.9055 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.4147, allocations: 364.3 kB / 0.9058 GB, free: 144 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6044/1.019, allocations: 7.481 MB / 0.9132 GB, free: 67.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/1.019, allocations: 17.56 kB / 0.9132 GB, free: 67.15 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000468/1.02, allocations: 158.6 kB / 0.9133 GB, free: 67.05 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000919/1.021, allocations: 485 kB / 0.9138 GB, free: 66.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/1.034, allocations: 5.7 MB / 0.9194 GB, free: 65.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04249/1.077, allocations: 31.48 MB / 0.9501 GB, free: 39.97 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003715/1.081, allocations: 2.092 MB / 0.9521 GB, free: 38.86 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003924/1.085, allocations: 2.175 MB / 0.9543 GB, free: 37.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/1.085, allocations: 15.69 kB / 0.9543 GB, free: 37.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.413e-05/1.085, allocations: 53.61 kB / 0.9543 GB, free: 37.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=146): time 6.102e-06/1.085, allocations: 0 / 0.9543 GB, free: 37.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=251): time 0.2693/1.354, allocations: 77.02 MB / 1.03 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/1.354, allocations: 77.41 kB / 1.03 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/1.358, allocations: 1.67 MB / 1.031 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000958/1.359, allocations: 61.7 kB / 1.031 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001828/1.361, allocations: 1.754 MB / 1.033 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001878/1.363, allocations: 0.8514 MB / 1.034 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002163/1.365, allocations: 485.2 kB / 1.034 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.365, allocations: 301.1 kB / 1.035 GB, free: 9.461 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00449/1.37, allocations: 2.734 MB / 1.037 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005442/1.375, allocations: 3.332 MB / 1.041 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.386, allocations: 6.397 MB / 1.047 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.225e-05/1.386, allocations: 5.781 kB / 1.047 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03353/1.419, allocations: 14.68 MB / 1.061 GB, free: 13.77 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.355e-05/1.419, allocations: 15.94 kB / 1.061 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.305e-05/1.419, allocations: 20.86 kB / 1.061 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03175/1.451, allocations: 9.244 MB / 1.07 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/1.453, allocations: 299.5 kB / 1.07 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09313/1.546, allocations: 52.34 MB / 1.122 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/1.55, allocations: 219.7 kB / 1.122 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008716/1.551, allocations: 96 kB / 1.122 GB, free: 14.68 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005083/1.556, allocations: 1.594 MB / 1.123 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.558, allocations: 241.1 kB / 1.124 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0352/1.593, allocations: 14.75 MB / 1.138 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.463e-05/1.593, allocations: 24 kB / 1.138 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002461/1.593, allocations: 44 kB / 1.138 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.891e-05/1.593, allocations: 11.95 kB / 1.138 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05299/1.646, allocations: 20.53 MB / 1.158 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.799e-05/1.646, allocations: 8 kB / 1.158 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/1.648, allocations: 163.8 kB / 1.158 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03151/1.679, allocations: 8.997 MB / 1.167 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008008/1.68, allocations: 50.52 kB / 1.167 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1032/1.783, allocations: 51.92 MB / 1.218 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/1.783, allocations: 7.938 kB / 1.218 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03756/1.821, allocations: 14.37 MB / 1.232 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003713/1.825, allocations: 0.8493 MB / 1.233 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/1.826, allocations: 51.98 kB / 1.233 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003193/1.83, allocations: 203.7 kB / 1.233 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00237/1.832, allocations: 241.5 kB / 1.233 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007118/1.833, allocations: 64 kB / 1.233 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003468/1.836, allocations: 1.125 MB / 1.234 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.5e-07/1.836, allocations: 0 / 1.234 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.008713/1.845, allocations: 1.594 MB / 1.236 GB, free: 8.496 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008695/1.846, allocations: 167 kB / 1.236 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02603/1.872, allocations: 10.55 MB / 1.246 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.872, allocations: 0 / 1.246 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.02054/1.892, allocations: 7.324 MB / 1.254 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005422/1.898, allocations: 0.5513 MB / 1.254 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02834/1.926, allocations: 8.678 MB / 1.263 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007922/1.934, allocations: 3.216 MB / 1.266 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001881/1.936, allocations: 395.3 kB / 1.266 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/1.937, allocations: 103.4 kB / 1.266 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of SimCode: time 1.442e-06/1.937, allocations: 0 / 1.266 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of Templates: time 0.8419/2.779, allocations: 92.58 MB / 1.357 GB, free: 317.8 MB / 1.014 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)