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.007604/0.007603, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001465/0.001465, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.621/1.621, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.554/1.554, allocations: 251.7 MB / 0.5094 GB, free: 3.035 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.001513/0.001513, allocations: 67.91 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3325, allocations: 104.7 MB / 0.8281 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04294/0.3755, allocations: 32.5 MB / 0.8598 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02354/0.3991, allocations: 10.37 MB / 0.8699 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00447/0.4036, allocations: 147.2 kB / 0.8701 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01086/0.4146, allocations: 3.716 MB / 0.8737 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00761/0.4222, allocations: 1.952 MB / 0.8756 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007259/0.4295, allocations: 2.134 MB / 0.8777 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01222/0.4417, allocations: 7.345 MB / 0.8849 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01857/0.4603, allocations: 9.408 MB / 0.8941 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007626/0.468, allocations: 3.225 MB / 0.8972 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007745/0.4758, allocations: 3.477 MB / 0.9006 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.003078/0.479, allocations: 0.6445 MB / 0.9012 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008027/0.487, allocations: 1.771 MB / 0.903 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.007656/0.4947, allocations: 2.553 MB / 0.9054 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.6853/1.18, allocations: 2.887 MB / 0.9083 GB, free: 26.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0242/1.204, allocations: 10.12 MB / 0.9181 GB, free: 25.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/1.204, allocations: 0 / 0.9181 GB, free: 25.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.585e-06/1.204, allocations: 1.375 kB / 0.9181 GB, free: 25.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005495/1.205, allocations: 1.281 kB / 0.9181 GB, free: 25.68 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.02935/1.234, allocations: 4.993 MB / 0.923 GB, free: 23.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/1.234, allocations: 9.25 kB / 0.923 GB, free: 23.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009868/1.244, allocations: 0.9538 MB / 0.924 GB, free: 23.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00905/1.253, allocations: 3.042 MB / 0.9269 GB, free: 22.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005492/1.254, allocations: 351.5 kB / 0.9273 GB, free: 22.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004002/1.258, allocations: 465 kB / 0.9277 GB, free: 22.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03291/1.291, allocations: 7.657 MB / 0.9352 GB, free: 21.89 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003229/1.291, allocations: 32.16 kB / 0.9352 GB, free: 21.89 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002243/1.294, allocations: 201.2 kB / 0.9354 GB, free: 21.89 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005123/1.294, allocations: 318 kB / 0.9357 GB, free: 21.87 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02057/1.315, allocations: 5.708 MB / 0.9413 GB, free: 21.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05241/1.367, allocations: 34.83 MB / 0.9753 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/1.371, allocations: 2.159 MB / 0.9774 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/1.373, allocations: 1.263 MB / 0.9786 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.061e-05/1.373, allocations: 13.5 kB / 0.9787 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/1.373, allocations: 52.7 kB / 0.9787 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.547e-06/1.373, allocations: 0 / 0.9787 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01613/1.389, allocations: 7.086 MB / 0.9856 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/1.389, allocations: 64.25 kB / 0.9857 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/1.391, allocations: 1.49 MB / 0.9871 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/1.392, allocations: 45.58 kB / 0.9872 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/1.393, allocations: 2.011 MB / 0.9892 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000575/1.394, allocations: 484.2 kB / 0.9896 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005526/1.394, allocations: 349.2 kB / 0.99 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.394, allocations: 309.1 kB / 0.9902 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.396, allocations: 0.9116 MB / 0.9911 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/1.397, allocations: 1.593 MB / 0.9927 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/1.4, allocations: 2.731 MB / 0.9954 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/1.401, allocations: 8.781 kB / 0.9954 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00617/1.407, allocations: 3.533 MB / 0.9988 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.407, allocations: 14.69 kB / 0.9988 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/1.407, allocations: 23.22 kB / 0.9989 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/1.409, allocations: 0.9016 MB / 0.9997 GB, free: 6.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.411, allocations: 350.2 kB / 1 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/1.432, allocations: 23.11 MB / 1.023 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/1.434, allocations: 99.95 kB / 1.023 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/1.435, allocations: 84 kB / 1.023 GB, free: 13.79 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.003971/1.439, allocations: 1.618 MB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007024/1.439, allocations: 205.6 kB / 1.025 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005813/1.445, allocations: 2.987 MB / 1.028 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/1.445, allocations: 19.92 kB / 1.028 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/1.445, allocations: 12 kB / 1.028 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/1.445, allocations: 3.984 kB / 1.028 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/1.46, allocations: 7.336 MB / 1.035 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.46, allocations: 8.062 kB / 1.035 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007982/1.46, allocations: 177.7 kB / 1.035 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/1.463, allocations: 0.8252 MB / 1.036 GB, free: 444 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/1.463, allocations: 28 kB / 1.036 GB, free: 416 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/1.483, allocations: 21.94 MB / 1.057 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.483, allocations: 7.469 kB / 1.057 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005535/1.488, allocations: 3.025 MB / 1.06 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.49, allocations: 458.1 kB / 1.061 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/1.49, allocations: 43.89 kB / 1.061 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/1.491, allocations: 67.92 kB / 1.061 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003953/1.491, allocations: 123.2 kB / 1.061 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/1.491, allocations: 43.94 kB / 1.061 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001426/1.493, allocations: 0.9756 MB / 1.062 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.493, allocations: 0 / 1.062 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00336/1.496, allocations: 0.7891 MB / 1.063 GB, free: 3.254 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.0002887/1.496, allocations: 143.2 kB / 1.063 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006028/1.502, allocations: 4.035 MB / 1.067 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.502, allocations: 256 / 1.067 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003817/1.506, allocations: 2.735 MB / 1.069 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/1.51, allocations: 0.73 MB / 1.07 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/1.529, allocations: 7.101 MB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004512/1.534, allocations: 3.113 MB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002178/1.536, allocations: 454 kB / 1.08 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/1.537, allocations: 115.4 kB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of SimCode: time 1.403e-06/1.537, allocations: 1.688 kB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of Templates: time 0.07523/1.612, allocations: 36.26 MB / 1.116 GB, free: 12.88 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)