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.ACLine_L.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.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008401/0.008401, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001616/0.001616, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.639/1.639, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.678/1.678, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001499/0.001499, allocations: 64.22 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3062, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03797/0.3442, allocations: 32.5 MB / 0.8598 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01899/0.3633, allocations: 10.38 MB / 0.8699 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003977/0.3673, allocations: 147.3 kB / 0.8701 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.3777, allocations: 3.708 MB / 0.8737 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008603/0.3863, allocations: 1.866 MB / 0.8755 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008308/0.3946, allocations: 2.127 MB / 0.8776 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0118/0.4065, allocations: 7.321 MB / 0.8847 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01672/0.4232, allocations: 9.416 MB / 0.8939 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009063/0.4324, allocations: 3.17 MB / 0.897 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008591/0.4411, allocations: 3.481 MB / 0.9004 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.003209/0.4443, allocations: 0.6484 MB / 0.9011 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006124/0.4505, allocations: 1.775 MB / 0.9028 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004892/0.4554, allocations: 2.546 MB / 0.9053 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.6686/1.124, allocations: 2.892 MB / 0.9081 GB, free: 26.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02418/1.148, allocations: 10.11 MB / 0.918 GB, free: 25.85 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/1.148, allocations: 0.7188 kB / 0.918 GB, free: 25.85 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.477e-06/1.148, allocations: 0.6562 kB / 0.918 GB, free: 25.85 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006899/1.149, allocations: 0.8125 kB / 0.918 GB, free: 25.85 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.03091/1.18, allocations: 4.994 MB / 0.9229 GB, free: 24 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/1.18, allocations: 9.281 kB / 0.9229 GB, free: 24 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/1.191, allocations: 0.9559 MB / 0.9238 GB, free: 23.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/1.202, allocations: 3.043 MB / 0.9268 GB, free: 23.11 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007105/1.203, allocations: 352.7 kB / 0.9271 GB, free: 23.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004262/1.207, allocations: 469.8 kB / 0.9276 GB, free: 23.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03468/1.242, allocations: 7.66 MB / 0.935 GB, free: 22.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007553/1.243, allocations: 30.86 kB / 0.9351 GB, free: 22.06 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00436/1.247, allocations: 202 kB / 0.9353 GB, free: 22.06 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008545/1.248, allocations: 311.1 kB / 0.9356 GB, free: 22.05 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02294/1.271, allocations: 5.712 MB / 0.9411 GB, free: 21.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05911/1.33, allocations: 34.83 MB / 0.9751 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003473/1.333, allocations: 2.154 MB / 0.9772 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/1.336, allocations: 1.272 MB / 0.9785 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/1.336, allocations: 11.75 kB / 0.9785 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/1.336, allocations: 46.56 kB / 0.9785 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 4.128e-06/1.336, allocations: 0 / 0.9785 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01831/1.354, allocations: 7.088 MB / 0.9855 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/1.354, allocations: 64.16 kB / 0.9855 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/1.358, allocations: 1.485 MB / 0.987 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003311/1.359, allocations: 45.64 kB / 0.987 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001882/1.361, allocations: 2.013 MB / 0.989 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007529/1.361, allocations: 485 kB / 0.9895 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007739/1.362, allocations: 357.9 kB / 0.9898 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.362, allocations: 301.1 kB / 0.9901 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/1.364, allocations: 0.9103 MB / 0.991 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/1.366, allocations: 1.592 MB / 0.9925 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/1.37, allocations: 2.736 MB / 0.9952 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.408e-05/1.37, allocations: 3.938 kB / 0.9952 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007137/1.377, allocations: 3.539 MB / 0.9987 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/1.377, allocations: 14.59 kB / 0.9987 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/1.377, allocations: 20.44 kB / 0.9987 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/1.38, allocations: 0.903 MB / 0.9996 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.381, allocations: 358.2 kB / 0.9999 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/1.404, allocations: 23.1 MB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/1.406, allocations: 104 kB / 1.023 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/1.406, allocations: 87.98 kB / 1.023 GB, free: 13.82 MB / 0.7794 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.005073/1.411, allocations: 1.608 MB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007724/1.412, allocations: 205.5 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006058/1.418, allocations: 2.994 MB / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/1.418, allocations: 12 kB / 1.027 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.312e-05/1.418, allocations: 12 kB / 1.027 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/1.418, allocations: 3.984 kB / 1.027 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/1.436, allocations: 7.333 MB / 1.035 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.436, allocations: 4 kB / 1.035 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008718/1.437, allocations: 181.7 kB / 1.035 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002542/1.44, allocations: 0.8177 MB / 1.036 GB, free: 492 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/1.44, allocations: 28 kB / 1.036 GB, free: 464 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02236/1.462, allocations: 21.94 MB / 1.057 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.463, allocations: 7.375 kB / 1.057 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006504/1.469, allocations: 3.025 MB / 1.06 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.47, allocations: 458.5 kB / 1.06 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/1.471, allocations: 47.83 kB / 1.06 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009181/1.472, allocations: 71.84 kB / 1.06 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004599/1.472, allocations: 131.4 kB / 1.061 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.838e-05/1.472, allocations: 36 kB / 1.061 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00165/1.474, allocations: 0.9717 MB / 1.062 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.474, allocations: 0 / 1.062 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004366/1.478, allocations: 0.7924 MB / 1.062 GB, free: 3.289 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003463/1.479, allocations: 142.7 kB / 1.062 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007114/1.486, allocations: 4.037 MB / 1.066 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.486, allocations: 0 / 1.066 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004588/1.49, allocations: 2.733 MB / 1.069 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/1.495, allocations: 0.7221 MB / 1.07 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/1.512, allocations: 7.113 MB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004805/1.517, allocations: 3.105 MB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001819/1.519, allocations: 461.9 kB / 1.08 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/1.519, allocations: 111.4 kB / 1.08 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of SimCode: time 5.29e-06/1.519, allocations: 0 / 1.08 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of Templates: time 0.07445/1.594, allocations: 36.25 MB / 1.116 GB, free: 12.93 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)