Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008029/0.00803, allocations: 98.39 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.001731/0.001731, allocations: 193.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 286.5 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9479/0.9479, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 100.1 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1553, allocations: 86.97 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.3713/0.5266, allocations: 20.23 MB / 0.7862 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.537, allocations: 6.451 MB / 0.7925 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.5393, allocations: 83.22 kB / 0.7925 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005142/0.5445, allocations: 2.237 MB / 0.7947 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003829/0.5483, allocations: 1.181 MB / 0.7959 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.552, allocations: 1.284 MB / 0.7971 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006447/0.5585, allocations: 4.854 MB / 0.8019 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008036/0.5666, allocations: 5.589 MB / 0.8073 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004062/0.5707, allocations: 2.083 MB / 0.8094 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004711/0.5754, allocations: 2.348 MB / 0.8117 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009115/0.5763, allocations: 430.5 kB / 0.8121 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.5791, allocations: 1.002 MB / 0.813 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002157/0.5812, allocations: 1.662 MB / 0.8147 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002815/0.5841, allocations: 1.911 MB / 0.8165 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009434/0.5935, allocations: 6.542 MB / 0.8229 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5935, allocations: 0 / 0.8229 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5936, allocations: 1.344 kB / 0.8229 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001843/0.5937, allocations: 0 / 0.8229 GB, free: 2.469 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00926/0.603, allocations: 3.541 MB / 0.8264 GB, free: 24 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.6031, allocations: 10.25 kB / 0.8264 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/0.6066, allocations: 0.6522 MB / 0.827 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.6103, allocations: 2.055 MB / 0.829 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.6105, allocations: 222.4 kB / 0.8292 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004604/0.6109, allocations: 304.3 kB / 0.8295 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008192/0.6191, allocations: 4.885 MB / 0.8343 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.483e-05/0.6192, allocations: 13 kB / 0.8343 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/0.6196, allocations: 130 kB / 0.8344 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004171/0.62, allocations: 228.5 kB / 0.8347 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00566/0.6256, allocations: 3.755 MB / 0.8383 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01996/0.6456, allocations: 21.44 MB / 0.8593 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.6473, allocations: 1.304 MB / 0.8605 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.6486, allocations: 1.057 MB / 0.8616 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-05/0.6487, allocations: 12.94 kB / 0.8616 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.6487, allocations: 55.5 kB / 0.8616 GB, free: 8 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 2.695e-06/0.6488, allocations: 0 / 0.8616 GB, free: 8 kB / 0.6075 GB Notification: Performance of matching and sorting (n=138): time 0.02326/0.672, allocations: 8.692 MB / 0.8701 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.6721, allocations: 64.72 kB / 0.8702 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.6734, allocations: 1.123 MB / 0.8713 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.805e-05/0.6735, allocations: 53.7 kB / 0.8713 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007276/0.6743, allocations: 1.331 MB / 0.8726 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.6746, allocations: 0.4958 MB / 0.8731 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/0.675, allocations: 299.4 kB / 0.8734 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.37e-05/0.6751, allocations: 301.1 kB / 0.8737 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.6763, allocations: 0.9135 MB / 0.8746 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.6778, allocations: 1.322 MB / 0.8759 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/0.6806, allocations: 2.43 MB / 0.8782 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.6806, allocations: 4 kB / 0.8782 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005478/0.6861, allocations: 3.48 MB / 0.8816 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.6861, allocations: 14.34 kB / 0.8817 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.6861, allocations: 16.78 kB / 0.8817 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/0.6892, allocations: 1.173 MB / 0.8828 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008484/0.69, allocations: 263.6 kB / 0.8831 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/0.7061, allocations: 13.87 MB / 0.8966 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.7075, allocations: 87.97 kB / 0.8967 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.7076, allocations: 64 kB / 0.8968 GB, free: 11.16 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00187/0.7095, allocations: 1.119 MB / 0.8979 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.7097, allocations: 163 kB / 0.898 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/0.715, allocations: 3.177 MB / 0.9011 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.7151, allocations: 16 kB / 0.9011 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.7151, allocations: 16.38 kB / 0.9011 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.7151, allocations: 3.984 kB / 0.9011 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009372/0.7245, allocations: 6.245 MB / 0.9072 GB, free: 256 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.7245, allocations: 8 kB / 0.9072 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.7251, allocations: 151.8 kB / 0.9074 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002677/0.7278, allocations: 1.071 MB / 0.9084 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/0.7279, allocations: 32 kB / 0.9085 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/0.7435, allocations: 13.54 MB / 0.9217 GB, free: 1.035 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.7435, allocations: 4.375 kB / 0.9217 GB, free: 1.031 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004977/0.7485, allocations: 3.159 MB / 0.9248 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007497/0.7493, allocations: 431.9 kB / 0.9252 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.7495, allocations: 28 kB / 0.9252 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/0.7503, allocations: 91.77 kB / 0.9253 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.7505, allocations: 132.6 kB / 0.9254 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/0.7507, allocations: 40 kB / 0.9255 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009695/0.7516, allocations: 0.7671 MB / 0.9262 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7516, allocations: 0 / 0.9262 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001903/0.7535, allocations: 0.6602 MB / 0.9269 GB, free: 11.62 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002315/0.7538, allocations: 147 kB / 0.927 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004424/0.7582, allocations: 3.142 MB / 0.9301 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7582, allocations: 0 / 0.9301 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00272/0.761, allocations: 1.959 MB / 0.932 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.7629, allocations: 0.4898 MB / 0.9325 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007953/0.7709, allocations: 5.453 MB / 0.9378 GB, free: 296 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00213/0.773, allocations: 2.34 MB / 0.9401 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000864/0.7739, allocations: 354.1 kB / 0.9404 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.7741, allocations: 91.44 kB / 0.9405 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of SimCode: time 7.11e-07/0.7742, allocations: 3.938 kB / 0.9405 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of Templates: time 0.04811/0.8223, allocations: 33.21 MB / 0.9729 GB, free: 12.72 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)