Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002399/0.002399, allocations: 290.7 kB / 304.8 MB, free: 3.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 180.9 MB / 0.5282 GB, free: 1.922 MB / 382.1 MB " [Timeout remaining time 179] 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 100.1 kB / 0.7284 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.5545, allocations: 94.16 MB / 0.8203 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04509/0.5996, allocations: 36.79 MB / 0.8562 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.6184, allocations: 10.31 MB / 0.8663 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00386/0.6223, allocations: 143.3 kB / 0.8664 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01097/0.6333, allocations: 3.941 MB / 0.8703 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007121/0.6404, allocations: 2.149 MB / 0.8724 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006123/0.6465, allocations: 2.033 MB / 0.8744 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0124/0.6589, allocations: 7.963 MB / 0.8821 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008844/0.6677, allocations: 4.91 MB / 0.8869 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006333/0.6741, allocations: 3.42 MB / 0.8903 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007212/0.6813, allocations: 3.937 MB / 0.8941 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002434/0.6837, allocations: 0.6797 MB / 0.8948 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00471/0.6884, allocations: 1.467 MB / 0.8962 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004883/0.6933, allocations: 2.693 MB / 0.8988 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.007321/0.7006, allocations: 3.097 MB / 0.9019 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01612/0.7168, allocations: 10.42 MB / 0.912 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.7168, allocations: 0 / 0.912 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7168, allocations: 0 / 0.912 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004019/0.7172, allocations: 0 / 0.912 GB, free: 15.5 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01658/0.7338, allocations: 5.534 MB / 0.9174 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.7338, allocations: 8.031 kB / 0.9175 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006794/0.7406, allocations: 0.9928 MB / 0.9184 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007276/0.7479, allocations: 3.2 MB / 0.9216 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.7482, allocations: 353.9 kB / 0.9219 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/0.7498, allocations: 464.3 kB / 0.9223 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.765, allocations: 7.918 MB / 0.9301 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.7651, allocations: 23.77 kB / 0.9301 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005553/0.7657, allocations: 208 kB / 0.9303 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005886/0.7663, allocations: 365.1 kB / 0.9306 GB, free: 11.96 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.7802, allocations: 5.941 MB / 0.9364 GB, free: 5.988 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04211/0.8223, allocations: 36 MB / 0.9716 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003344/0.8256, allocations: 2.001 MB / 0.9735 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.8276, allocations: 1.347 MB / 0.9749 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.874e-05/0.8277, allocations: 21.25 kB / 0.9749 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/0.8277, allocations: 55.81 kB / 0.9749 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=157): time 2.926e-06/0.8277, allocations: 0 / 0.9749 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=160): time 0.01434/0.8421, allocations: 7.571 MB / 0.9823 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.8421, allocations: 68.72 kB / 0.9824 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.8449, allocations: 1.868 MB / 0.9842 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.845, allocations: 53.7 kB / 0.9843 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.8466, allocations: 2.192 MB / 0.9864 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005367/0.8472, allocations: 0.5771 MB / 0.987 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000643/0.8478, allocations: 411.9 kB / 0.9874 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8479, allocations: 301.1 kB / 0.9877 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.8495, allocations: 1.07 MB / 0.9887 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.8517, allocations: 1.76 MB / 0.9904 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/0.8557, allocations: 3.045 MB / 0.9934 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.8557, allocations: 8 kB / 0.9934 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006629/0.8624, allocations: 3.914 MB / 0.9972 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.8624, allocations: 12 kB / 0.9972 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/0.8624, allocations: 24 kB / 0.9973 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/0.8649, allocations: 0.9277 MB / 0.9982 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.8664, allocations: 423.3 kB / 0.9986 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.8887, allocations: 22.77 MB / 1.021 GB, free: 9.605 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.8908, allocations: 123.9 kB / 1.021 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.891, allocations: 99.92 kB / 1.021 GB, free: 9.387 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002968/0.894, allocations: 1.643 MB / 1.023 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005677/0.8945, allocations: 274.3 kB / 1.023 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005709/0.9002, allocations: 3.229 MB / 1.026 GB, free: 4.184 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.9003, allocations: 16 kB / 1.026 GB, free: 4.168 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.9003, allocations: 11.94 kB / 1.026 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.9003, allocations: 7.969 kB / 1.026 GB, free: 4.148 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.9134, allocations: 7.537 MB / 1.033 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.9134, allocations: 4 kB / 1.033 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008944/0.9143, allocations: 215.6 kB / 1.034 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002325/0.9166, allocations: 0.8921 MB / 1.035 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.9167, allocations: 32 kB / 1.035 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02226/0.939, allocations: 22.74 MB / 1.057 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.939, allocations: 11.94 kB / 1.057 GB, free: 2.848 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005828/0.9448, allocations: 3.365 MB / 1.06 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.946, allocations: 0.5384 MB / 1.061 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/0.9463, allocations: 35.89 kB / 1.061 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009944/0.9473, allocations: 99.88 kB / 1.061 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004312/0.9477, allocations: 141 kB / 1.061 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.9478, allocations: 48 kB / 1.061 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001793/0.9496, allocations: 1.221 MB / 1.062 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9496, allocations: 0 / 1.062 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002813/0.9524, allocations: 0.9062 MB / 1.063 GB, free: 12.35 MB / 0.8106 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000287/0.9527, allocations: 155 kB / 1.063 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006823/0.9596, allocations: 4.283 MB / 1.067 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.9596, allocations: 7.906 kB / 1.067 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004364/0.9639, allocations: 2.906 MB / 1.07 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/0.9676, allocations: 0.8198 MB / 1.071 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.9828, allocations: 7.841 MB / 1.079 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003823/0.9866, allocations: 3.205 MB / 1.082 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001858/0.9885, allocations: 0.5293 MB / 1.082 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/0.9889, allocations: 143.4 kB / 1.082 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of SimCode: time 1.223e-06/0.9889, allocations: 3.938 kB / 1.082 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of Templates: time 0.4842/1.473, allocations: 42.89 MB / 1.124 GB, free: 226.6 MB / 0.8262 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.395712175406516]