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.007445/0.007445, allocations: 97.06 kB / 15.73 MB, free: 6.004 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.001366/0.001366, allocations: 195 kB / 16.67 MB, free: 5.934 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.585/1.585, 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.586/1.586, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001396/0.001396, allocations: 67.91 kB / 0.7258 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2132, allocations: 104.7 MB / 0.8281 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02474/0.238, allocations: 23.38 MB / 0.8509 GB, free: 8.762 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.2491, allocations: 6.532 MB / 0.8573 GB, free: 2.207 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.251, allocations: 99.5 kB / 0.8574 GB, free: 2.109 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.2549, allocations: 1.499 MB / 0.8588 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004191/0.2591, allocations: 1.828 MB / 0.8606 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.2627, allocations: 1.445 MB / 0.862 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007297/0.27, allocations: 6.853 MB / 0.8687 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007796/0.2778, allocations: 6.926 MB / 0.8755 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00394/0.2818, allocations: 2.827 MB / 0.8783 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/0.2862, allocations: 3.474 MB / 0.8816 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000912/0.2872, allocations: 0.5273 MB / 0.8822 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.2896, allocations: 1.17 MB / 0.8833 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002225/0.2918, allocations: 2.452 MB / 0.8857 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002709/0.2945, allocations: 2.528 MB / 0.8882 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008552/0.3031, allocations: 8.531 MB / 0.8965 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3031, allocations: 0 / 0.8965 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.597e-06/0.3032, allocations: 4 kB / 0.8965 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001954/0.3034, allocations: 0 / 0.8965 GB, free: 9.859 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.008973/0.3123, allocations: 4.543 MB / 0.9009 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3124, allocations: 8.031 kB / 0.9009 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008509/0.3209, allocations: 1.699 MB / 0.9026 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005604/0.3265, allocations: 2.717 MB / 0.9053 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.3268, allocations: 271.7 kB / 0.9055 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009786/0.3278, allocations: 364.3 kB / 0.9059 GB, free: 144 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5166/0.8444, allocations: 7.48 MB / 0.9132 GB, free: 66.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.8446, allocations: 15.55 kB / 0.9132 GB, free: 66.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007578/0.8454, allocations: 158.6 kB / 0.9133 GB, free: 66.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001128/0.8465, allocations: 485.4 kB / 0.9138 GB, free: 66.63 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/0.8637, allocations: 5.698 MB / 0.9194 GB, free: 64.72 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04415/0.9078, allocations: 31.53 MB / 0.9502 GB, free: 39.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/0.9114, allocations: 2.094 MB / 0.9522 GB, free: 38.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003506/0.915, allocations: 2.176 MB / 0.9543 GB, free: 37.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.9153, allocations: 15.44 kB / 0.9543 GB, free: 37.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.9153, allocations: 49.36 kB / 0.9544 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=146): time 4.418e-06/0.9154, allocations: 0 / 0.9544 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=251): time 0.295/1.21, allocations: 77.09 MB / 1.03 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/1.211, allocations: 77.41 kB / 1.03 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/1.213, allocations: 1.67 MB / 1.031 GB, free: 13 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004758/1.214, allocations: 65.7 kB / 1.031 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.215, allocations: 1.795 MB / 1.033 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.216, allocations: 0.8929 MB / 1.034 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/1.218, allocations: 489.3 kB / 1.035 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.218, allocations: 301.1 kB / 1.035 GB, free: 9.461 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004037/1.222, allocations: 2.734 MB / 1.037 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004644/1.226, allocations: 3.332 MB / 1.041 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009192/1.236, allocations: 6.397 MB / 1.047 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/1.236, allocations: 4 kB / 1.047 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03496/1.271, allocations: 14.69 MB / 1.061 GB, free: 13.75 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.786e-05/1.271, allocations: 18.75 kB / 1.061 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/1.271, allocations: 21.78 kB / 1.061 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03191/1.303, allocations: 9.247 MB / 1.07 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/1.305, allocations: 299.5 kB / 1.071 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08756/1.392, allocations: 52.4 MB / 1.122 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/1.395, allocations: 219.7 kB / 1.122 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006107/1.396, allocations: 100 kB / 1.122 GB, free: 14.61 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.003795/1.4, allocations: 1.586 MB / 1.124 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009066/1.401, allocations: 254.6 kB / 1.124 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0339/1.435, allocations: 14.75 MB / 1.138 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-05/1.435, allocations: 24 kB / 1.138 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001536/1.435, allocations: 44 kB / 1.138 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.261e-05/1.435, allocations: 11.95 kB / 1.138 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04133/1.476, allocations: 20.52 MB / 1.158 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.618e-05/1.476, allocations: 8 kB / 1.158 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000833/1.477, allocations: 168.5 kB / 1.159 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03067/1.508, allocations: 8.998 MB / 1.167 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000697/1.509, allocations: 52 kB / 1.167 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1169/1.626, allocations: 51.97 MB / 1.218 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.758e-05/1.626, allocations: 15.98 kB / 1.218 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05184/1.678, allocations: 14.38 MB / 1.232 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003573/1.681, allocations: 0.8585 MB / 1.233 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/1.682, allocations: 51.98 kB / 1.233 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003962/1.686, allocations: 207.7 kB / 1.233 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002027/1.688, allocations: 241.4 kB / 1.234 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004431/1.689, allocations: 64 kB / 1.234 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002852/1.692, allocations: 1.125 MB / 1.235 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.71e-07/1.692, allocations: 4 kB / 1.235 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.009136/1.701, allocations: 1.594 MB / 1.236 GB, free: 8.336 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.0008774/1.702, allocations: 163 kB / 1.236 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.03599/1.738, allocations: 10.58 MB / 1.247 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.738, allocations: 0 / 1.247 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.02795/1.766, allocations: 7.344 MB / 1.254 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005912/1.772, allocations: 0.555 MB / 1.255 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/1.798, allocations: 8.802 MB / 1.263 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0059/1.804, allocations: 3.22 MB / 1.266 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001433/1.805, allocations: 383.3 kB / 1.267 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/1.805, allocations: 111.4 kB / 1.267 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of SimCode: time 1.673e-06/1.805, allocations: 0 / 1.267 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of Templates: time 0.7658/2.571, allocations: 92.6 MB / 1.357 GB, free: 316.7 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)