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.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002164/0.002164, allocations: 197 kB / 16.14 MB, free: 6.703 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.741/1.741, allocations: 205.1 MB / 222 MB, free: 5.012 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.631/1.631, allocations: 251.6 MB / 0.5088 GB, free: 3.41 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.001505/0.001505, allocations: 63.91 kB / 0.6216 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6463/0.6478, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02747/0.6754, allocations: 23.22 MB / 0.7465 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01281/0.6882, allocations: 6.547 MB / 0.7529 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00407/0.6924, allocations: 83.56 kB / 0.753 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005646/0.6981, allocations: 1.345 MB / 0.7543 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006745/0.7048, allocations: 1.743 MB / 0.756 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005488/0.7104, allocations: 1.336 MB / 0.7573 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01473/0.7251, allocations: 10.56 MB / 0.7676 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01381/0.739, allocations: 7.59 MB / 0.775 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006738/0.7458, allocations: 2.39 MB / 0.7773 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007281/0.7531, allocations: 3.603 MB / 0.7809 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002034/0.7552, allocations: 380 kB / 0.7812 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004793/0.76, allocations: 1.201 MB / 0.7824 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004668/0.7647, allocations: 2.304 MB / 0.7846 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006046/0.7708, allocations: 2.341 MB / 0.7869 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.7824, allocations: 8.374 MB / 0.7951 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.7824, allocations: 0 / 0.7951 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7824, allocations: 0 / 0.7951 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003132/0.7828, allocations: 0 / 0.7951 GB, free: 3.902 MB / 0.6075 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.01541/0.7982, allocations: 4.428 MB / 0.7994 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.7983, allocations: 12.03 kB / 0.7994 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.8085, allocations: 1.681 MB / 0.8011 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007778/0.8163, allocations: 2.571 MB / 0.8036 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003868/0.8167, allocations: 279.7 kB / 0.8039 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002477/0.8192, allocations: 356.3 kB / 0.8042 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/0.8419, allocations: 7.495 MB / 0.8115 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002959/0.8423, allocations: 23.78 kB / 0.8115 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002096/0.8444, allocations: 159.9 kB / 0.8117 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000822/0.8453, allocations: 487.3 kB / 0.8122 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.8597, allocations: 5.693 MB / 0.8177 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06056/0.9203, allocations: 31.69 MB / 0.8487 GB, free: 9.883 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/0.9247, allocations: 2.09 MB / 0.8507 GB, free: 7.785 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00369/0.9284, allocations: 2.178 MB / 0.8528 GB, free: 5.605 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/0.9288, allocations: 17.3 kB / 0.8528 GB, free: 5.586 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.9288, allocations: 47.88 kB / 0.8529 GB, free: 5.531 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 4.378e-06/0.9288, allocations: 0 / 0.8529 GB, free: 5.531 MB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.8987/1.828, allocations: 77 MB / 0.9281 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/1.828, allocations: 76.38 kB / 0.9282 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/1.83, allocations: 1.666 MB / 0.9298 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006755/1.831, allocations: 65.7 kB / 0.9298 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009858/1.832, allocations: 1.742 MB / 0.9315 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/1.833, allocations: 0.8532 MB / 0.9324 GB, free: 158.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/1.834, allocations: 489.2 kB / 0.9328 GB, free: 158 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/1.834, allocations: 306.6 kB / 0.9331 GB, free: 157.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/1.837, allocations: 2.726 MB / 0.9358 GB, free: 155 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003618/1.841, allocations: 3.332 MB / 0.9391 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0072/1.848, allocations: 6.393 MB / 0.9453 GB, free: 144.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/1.848, allocations: 11.94 kB / 0.9453 GB, free: 144.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03037/1.879, allocations: 14.68 MB / 0.9596 GB, free: 130 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/1.879, allocations: 13.09 kB / 0.9597 GB, free: 130 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/1.879, allocations: 16 kB / 0.9597 GB, free: 130 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02779/1.906, allocations: 9.236 MB / 0.9687 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.908, allocations: 299.4 kB / 0.969 GB, free: 120.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06186/1.97, allocations: 47.45 MB / 1.015 GB, free: 72.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003824/1.974, allocations: 227.7 kB / 1.016 GB, free: 71.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005038/1.974, allocations: 96 kB / 1.016 GB, free: 71.87 MB / 0.7169 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.00328/1.977, allocations: 1.582 MB / 1.017 GB, free: 70.28 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.978, allocations: 245.1 kB / 1.017 GB, free: 70.04 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02767/2.006, allocations: 14.75 MB / 1.032 GB, free: 55.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/2.006, allocations: 31.56 kB / 1.032 GB, free: 55.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002463/2.006, allocations: 50.47 kB / 1.032 GB, free: 55.15 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-05/2.006, allocations: 11.95 kB / 1.032 GB, free: 55.14 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03661/2.043, allocations: 20.51 MB / 1.052 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-05/2.043, allocations: 4.844 kB / 1.052 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/2.044, allocations: 159.8 kB / 1.052 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02641/2.07, allocations: 9.007 MB / 1.061 GB, free: 25.28 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006744/2.071, allocations: 48 kB / 1.061 GB, free: 25.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06706/2.138, allocations: 47.03 MB / 1.107 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/2.138, allocations: 11.94 kB / 1.107 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0327/2.171, allocations: 14.36 MB / 1.121 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00281/2.174, allocations: 0.8493 MB / 1.122 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007044/2.175, allocations: 48 kB / 1.122 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/2.177, allocations: 207.7 kB / 1.122 GB, free: 9.82 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001753/2.179, allocations: 249.4 kB / 1.122 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/2.179, allocations: 64 kB / 1.122 GB, free: 9.516 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001773/2.181, allocations: 1.125 MB / 1.123 GB, free: 8.367 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/2.181, allocations: 4 kB / 1.123 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.008573/2.189, allocations: 1.594 MB / 1.125 GB, free: 6.77 MB / 0.7637 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.0008607/2.19, allocations: 167 kB / 1.125 GB, free: 6.598 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0243/2.214, allocations: 10.53 MB / 1.135 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-05/2.215, allocations: 0 / 1.135 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01699/2.232, allocations: 7.313 MB / 1.143 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003528/2.235, allocations: 0.5175 MB / 1.143 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/2.257, allocations: 10.6 MB / 1.153 GB, free: 9.457 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005999/2.263, allocations: 3.228 MB / 1.157 GB, free: 6.191 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002006/2.265, allocations: 387.3 kB / 1.157 GB, free: 5.809 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/2.265, allocations: 107.4 kB / 1.157 GB, free: 5.703 MB / 0.795 GB Notification: Performance of SimCode: time 1.643e-06/2.265, allocations: 0 / 1.157 GB, free: 5.703 MB / 0.795 GB Notification: Performance of Templates: time 0.63/2.895, allocations: 89.57 MB / 1.244 GB, free: 286.5 MB / 0.8575 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)