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_R_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 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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00924/0.00924, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001606/0.001606, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.616/1.616, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.452/1.452, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.001486/0.001486, allocations: 75.89 kB / 0.7258 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7547, allocations: 104.7 MB / 0.8281 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04432/0.799, allocations: 37.8 MB / 0.865 GB, free: 12.8 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02436/0.8235, allocations: 11.09 MB / 0.8758 GB, free: 1.676 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005155/0.8288, allocations: 151.3 kB / 0.8759 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01216/0.841, allocations: 4.358 MB / 0.8802 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009046/0.85, allocations: 2.223 MB / 0.8824 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008399/0.8585, allocations: 2.162 MB / 0.8845 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01668/0.8752, allocations: 9.28 MB / 0.8935 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02261/0.8979, allocations: 11.27 MB / 0.9045 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009144/0.9071, allocations: 3.992 MB / 0.9084 GB, free: 76 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009688/0.9168, allocations: 4.51 MB / 0.9128 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.003706/0.9206, allocations: 0.8203 MB / 0.9136 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006225/0.9268, allocations: 1.588 MB / 0.9152 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.007511/0.9344, allocations: 3.146 MB / 0.9183 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01255/0.9469, allocations: 3.665 MB / 0.9218 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02646/0.9734, allocations: 12.32 MB / 0.9339 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.9735, allocations: 0 / 0.9339 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9735, allocations: 3.938 kB / 0.9339 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0006466/0.9742, allocations: 0 / 0.9339 GB, free: 5.953 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0258/1, allocations: 6.315 MB / 0.94 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/1, allocations: 16.02 kB / 0.9401 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007522/1.008, allocations: 1.059 MB / 0.9411 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009075/1.017, allocations: 3.61 MB / 0.9446 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004114/1.017, allocations: 431.7 kB / 0.945 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/1.02, allocations: 0.5393 MB / 0.9456 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03214/1.052, allocations: 9.377 MB / 0.9547 GB, free: 152 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002603/1.052, allocations: 19.78 kB / 0.9547 GB, free: 132 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002475/1.055, allocations: 248 kB / 0.955 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007555/1.056, allocations: 430.9 kB / 0.9554 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/1.074, allocations: 7.123 MB / 0.9623 GB, free: 8.332 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06174/1.135, allocations: 40.99 MB / 1.002 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005216/1.141, allocations: 3.112 MB / 1.005 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003168/1.144, allocations: 2.145 MB / 1.008 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/1.144, allocations: 26 kB / 1.008 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.167e-05/1.144, allocations: 64.56 kB / 1.008 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=209): time 4.198e-06/1.144, allocations: 0 / 1.008 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=212): time 0.0257/1.17, allocations: 10.55 MB / 1.018 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.17, allocations: 81.33 kB / 1.018 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/1.173, allocations: 2.005 MB / 1.02 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004439/1.174, allocations: 65.7 kB / 1.02 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001833/1.176, allocations: 2.404 MB / 1.022 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009676/1.176, allocations: 0.7279 MB / 1.023 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007624/1.177, allocations: 477.2 kB / 1.024 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.177, allocations: 305.1 kB / 1.024 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/1.179, allocations: 1.372 MB / 1.025 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/1.182, allocations: 2.112 MB / 1.027 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/1.187, allocations: 3.762 MB / 1.031 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/1.187, allocations: 8 kB / 1.031 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009108/1.196, allocations: 5.073 MB / 1.036 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/1.196, allocations: 12 kB / 1.036 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.191e-05/1.196, allocations: 24 kB / 1.036 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003942/1.2, allocations: 1.588 MB / 1.037 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/1.202, allocations: 455.2 kB / 1.038 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02695/1.229, allocations: 18.57 MB / 1.056 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/1.233, allocations: 143.9 kB / 1.056 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/1.233, allocations: 104 kB / 1.056 GB, free: 3 MB / 0.8575 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004438/1.237, allocations: 1.953 MB / 1.058 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008142/1.238, allocations: 288.6 kB / 1.058 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007358/1.246, allocations: 4.454 MB / 1.063 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/1.246, allocations: 20 kB / 1.063 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/1.246, allocations: 20 kB / 1.063 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/1.246, allocations: 7.969 kB / 1.063 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/1.262, allocations: 9.676 MB / 1.072 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/1.262, allocations: 4 kB / 1.072 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/1.263, allocations: 231.6 kB / 1.072 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003465/1.267, allocations: 1.427 MB / 1.074 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002308/1.267, allocations: 44 kB / 1.074 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02365/1.291, allocations: 18.56 MB / 1.092 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/1.291, allocations: 7.938 kB / 1.092 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008051/1.299, allocations: 4.544 MB / 1.096 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.301, allocations: 0.6342 MB / 1.097 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006331/1.302, allocations: 40 kB / 1.097 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.303, allocations: 115.9 kB / 1.097 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006509/1.304, allocations: 181.6 kB / 1.097 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/1.304, allocations: 56 kB / 1.097 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002144/1.306, allocations: 1.315 MB / 1.099 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.306, allocations: 0 / 1.099 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004846/1.311, allocations: 1.141 MB / 1.1 GB, free: 5.426 MB / 0.9044 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005872/1.312, allocations: 172 kB / 1.1 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.009008/1.321, allocations: 4.719 MB / 1.105 GB, free: 492 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.016e-05/1.321, allocations: 5 kB / 1.105 GB, free: 488 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.6332/1.954, allocations: 2.899 MB / 1.107 GB, free: 256.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005864/1.96, allocations: 0.8979 MB / 1.108 GB, free: 256.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/1.978, allocations: 9.274 MB / 1.117 GB, free: 253.4 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004281/1.983, allocations: 3.693 MB / 1.121 GB, free: 252.5 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002208/1.985, allocations: 0.5565 MB / 1.122 GB, free: 252.4 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/1.985, allocations: 146.1 kB / 1.122 GB, free: 252.4 MB / 0.9044 GB Notification: Performance of SimCode: time 5.51e-07/1.985, allocations: 0 / 1.122 GB, free: 252.4 MB / 0.9044 GB Notification: Performance of Templates: time 0.08924/2.074, allocations: 51.66 MB / 1.172 GB, free: 207 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)