Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009506/0.0009506, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9413/0.9413, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002477/0.002477, allocations: 230 kB / 260.2 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7908/0.7908, allocations: 138.4 MB / 455.2 MB, free: 1.551 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.49e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0194/0.01943, allocations: 18.81 MB / 0.5735 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.03229, allocations: 9.525 MB / 0.5828 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.03415, allocations: 186.6 kB / 0.583 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.03566, allocations: 0.7831 MB / 0.5838 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00369/0.03935, allocations: 2.577 MB / 0.5863 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.04141, allocations: 1.575 MB / 0.5878 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007892/0.04931, allocations: 7.697 MB / 0.5953 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005145/0.05445, allocations: 4.581 MB / 0.5998 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2011/0.2555, allocations: 4.751 MB / 0.6044 GB, free: 70 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004454/0.26, allocations: 3.315 MB / 0.6077 GB, free: 70 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.2613, allocations: 0.5955 MB / 0.6083 GB, free: 70 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.263, allocations: 0.6949 MB / 0.6089 GB, free: 70 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001874/0.2648, allocations: 2.563 MB / 0.6114 GB, free: 70 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0031/0.2679, allocations: 2.027 MB / 0.6134 GB, free: 70 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005046/0.273, allocations: 4.871 MB / 0.6182 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.273, allocations: 5.016 kB / 0.6182 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/0.273, allocations: 0 / 0.6182 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001707/0.2731, allocations: 1.469 kB / 0.6182 GB, free: 69.63 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.007625/0.2808, allocations: 5.311 MB / 0.6234 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2808, allocations: 10.03 kB / 0.6234 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003841/0.2847, allocations: 1.56 MB / 0.6249 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004071/0.2887, allocations: 3.011 MB / 0.6278 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.2889, allocations: 323.2 kB / 0.6282 GB, free: 65.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004825/0.2894, allocations: 429.8 kB / 0.6286 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006111/0.2955, allocations: 4.732 MB / 0.6332 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.904e-05/0.2956, allocations: 24.88 kB / 0.6332 GB, free: 62.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003278/0.2959, allocations: 183.5 kB / 0.6334 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005747/0.2965, allocations: 373.9 kB / 0.6337 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/0.2999, allocations: 1.627 MB / 0.6353 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.315, allocations: 21.18 MB / 0.656 GB, free: 47.19 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/0.3157, allocations: 0.5608 MB / 0.6566 GB, free: 47.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/0.3163, allocations: 0.5409 MB / 0.6571 GB, free: 46.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.415e-05/0.3164, allocations: 21.47 kB / 0.6571 GB, free: 46.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.3164, allocations: 53.42 kB / 0.6572 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=130): time 4.097e-06/0.3164, allocations: 0 / 0.6572 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=199): time 0.0109/0.3273, allocations: 6.605 MB / 0.6636 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.3274, allocations: 74.47 kB / 0.6637 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.3286, allocations: 1.704 MB / 0.6653 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-05/0.3287, allocations: 61.7 kB / 0.6654 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005668/0.3293, allocations: 2.122 MB / 0.6675 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.3296, allocations: 0.721 MB / 0.6682 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000406/0.33, allocations: 414.4 kB / 0.6686 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.3301, allocations: 476.8 kB / 0.669 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/0.3308, allocations: 0.512 MB / 0.6695 GB, free: 38.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009032/0.3317, allocations: 1.326 MB / 0.6708 GB, free: 37.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.3335, allocations: 2.016 MB / 0.6728 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.3335, allocations: 8 kB / 0.6728 GB, free: 34.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004637/0.3381, allocations: 3.314 MB / 0.676 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.3381, allocations: 16 kB / 0.6761 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.3382, allocations: 16 kB / 0.6761 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/0.3423, allocations: 1.734 MB / 0.6778 GB, free: 29.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/0.343, allocations: 377.3 kB / 0.6781 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/0.3585, allocations: 35.84 MB / 0.7131 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.3602, allocations: 127.9 kB / 0.7132 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.3603, allocations: 88 kB / 0.7133 GB, free: 7.383 MB / 0.5261 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.001188/0.3615, allocations: 294.7 kB / 0.7136 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.3619, allocations: 341.4 kB / 0.7139 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.3664, allocations: 2.888 MB / 0.7168 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.3664, allocations: 24 kB / 0.7168 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.412e-05/0.3664, allocations: 27.41 kB / 0.7168 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.3665, allocations: 11.95 kB / 0.7168 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009195/0.3757, allocations: 6.282 MB / 0.723 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3757, allocations: 8 kB / 0.723 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.3762, allocations: 221.3 kB / 0.7232 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003983/0.3801, allocations: 1.63 MB / 0.7248 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.92e-05/0.3802, allocations: 40 kB / 0.7248 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01935/0.3996, allocations: 35.76 MB / 0.7597 GB, free: 5.723 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3996, allocations: 11.28 kB / 0.7597 GB, free: 5.715 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004806/0.4044, allocations: 3.015 MB / 0.7627 GB, free: 2.559 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.4054, allocations: 0.4982 MB / 0.7632 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/0.4056, allocations: 55.89 kB / 0.7632 GB, free: 2.004 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000768/0.4064, allocations: 123.8 kB / 0.7633 GB, free: 1.883 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000502/0.4069, allocations: 211.3 kB / 0.7635 GB, free: 1.691 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.012e-05/0.407, allocations: 56 kB / 0.7636 GB, free: 1.637 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001079/0.4081, allocations: 0.977 MB / 0.7645 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4081, allocations: 0 / 0.7645 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003062/0.4111, allocations: 1.051 MB / 0.7656 GB, free: 15.59 MB / 0.5886 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002559/0.4114, allocations: 165.1 kB / 0.7657 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005443/0.4168, allocations: 5.42 MB / 0.771 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.4168, allocations: 0 / 0.771 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003748/0.4206, allocations: 4.571 MB / 0.7755 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.4232, allocations: 0.9154 MB / 0.7764 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.4336, allocations: 7.272 MB / 0.7835 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.4349, allocations: 1.166 MB / 0.7846 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001256/0.4361, allocations: 434.3 kB / 0.785 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.4364, allocations: 136.5 kB / 0.7852 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of SimCode: time 1.653e-06/0.4364, allocations: 4 kB / 0.7852 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.2467/0.683, allocations: 61.53 MB / 0.8453 GB, free: 191.6 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.322723184712231]