Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 110.5 kB / 16.36 MB, free: 5.996 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.001781/0.001781, allocations: 193.3 kB / 17.3 MB, free: 5.602 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.673/1.673, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.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.001422/0.001422, allocations: 71.89 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2233, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.4044/0.6278, allocations: 33.18 MB / 0.8172 GB, free: 29.94 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0219/0.6497, allocations: 14.9 MB / 0.8317 GB, free: 19.69 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003859/0.6536, allocations: 153.1 kB / 0.8319 GB, free: 19.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008675/0.6623, allocations: 3.649 MB / 0.8355 GB, free: 17.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009198/0.6715, allocations: 2.891 MB / 0.8383 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006723/0.6783, allocations: 2.332 MB / 0.8406 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0129/0.6912, allocations: 8.799 MB / 0.8492 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01675/0.708, allocations: 9.651 MB / 0.8586 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007462/0.7155, allocations: 3.958 MB / 0.8624 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007505/0.7231, allocations: 4.035 MB / 0.8664 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004283/0.7274, allocations: 0.716 MB / 0.8671 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007862/0.7353, allocations: 1.721 MB / 0.8688 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005498/0.7408, allocations: 2.825 MB / 0.8715 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008533/0.7493, allocations: 3.394 MB / 0.8748 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.7632, allocations: 11.18 MB / 0.8858 GB, free: 3.223 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.7632, allocations: 4 kB / 0.8858 GB, free: 3.219 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7632, allocations: 0 / 0.8858 GB, free: 3.219 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003007/0.7636, allocations: 0 / 0.8858 GB, free: 3.219 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0135/0.7771, allocations: 5.98 MB / 0.8916 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.7771, allocations: 15.97 kB / 0.8916 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00692/0.784, allocations: 1.141 MB / 0.8927 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007727/0.7918, allocations: 3.325 MB / 0.896 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.7921, allocations: 378.4 kB / 0.8963 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.7934, allocations: 500 kB / 0.8968 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.8062, allocations: 8.001 MB / 0.9046 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/0.8064, allocations: 23.77 kB / 0.9046 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004824/0.8068, allocations: 216 kB / 0.9049 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001017/0.8079, allocations: 441.6 kB / 0.9053 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009859/0.8177, allocations: 6.077 MB / 0.9112 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0375/0.8553, allocations: 34.89 MB / 0.9453 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.858, allocations: 2.03 MB / 0.9473 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00246/0.8605, allocations: 1.854 MB / 0.9491 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.8606, allocations: 29.84 kB / 0.9491 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/0.8607, allocations: 64.5 kB / 0.9492 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=171): time 3.637e-06/0.8607, allocations: 0 / 0.9492 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=276): time 0.1446/1.005, allocations: 38.87 MB / 0.9871 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/1.005, allocations: 81.58 kB / 0.9872 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003864/1.009, allocations: 2.282 MB / 0.9894 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004278/1.01, allocations: 73.7 kB / 0.9895 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/1.011, allocations: 2.272 MB / 0.9917 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.012, allocations: 0.9396 MB / 0.9926 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009562/1.013, allocations: 0.5023 MB / 0.9931 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.013, allocations: 305.1 kB / 0.9934 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/1.016, allocations: 1.977 MB / 0.9953 GB, free: 15.15 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/1.02, allocations: 2.602 MB / 0.9979 GB, free: 12.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006538/1.026, allocations: 4.929 MB / 1.003 GB, free: 7.102 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/1.026, allocations: 4 kB / 1.003 GB, free: 7.098 MB / 0.795 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01496/1.041, allocations: 7.754 MB / 1.01 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/1.041, allocations: 12.78 kB / 1.01 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/1.041, allocations: 16 kB / 1.01 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009618/1.051, allocations: 3.226 MB / 1.013 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/1.053, allocations: 395.4 kB / 1.014 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04529/1.098, allocations: 33.87 MB / 1.047 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/1.101, allocations: 159.8 kB / 1.047 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/1.101, allocations: 112 kB / 1.047 GB, free: 8.637 MB / 0.8419 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003208/1.105, allocations: 1.8 MB / 1.049 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006945/1.105, allocations: 332.1 kB / 1.049 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/1.119, allocations: 7.357 MB / 1.056 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/1.12, allocations: 32 kB / 1.056 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.736e-05/1.12, allocations: 28 kB / 1.056 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.104e-05/1.12, allocations: 15.95 kB / 1.057 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02391/1.144, allocations: 12.93 MB / 1.069 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/1.144, allocations: 11.97 kB / 1.069 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/1.145, allocations: 231.8 kB / 1.069 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008551/1.153, allocations: 2.855 MB / 1.072 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004047/1.154, allocations: 56 kB / 1.072 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04323/1.197, allocations: 32.66 MB / 1.104 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.197, allocations: 11.94 kB / 1.104 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/1.21, allocations: 6.89 MB / 1.111 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/1.213, allocations: 0.7743 MB / 1.112 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006155/1.213, allocations: 59.98 kB / 1.112 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/1.215, allocations: 167.8 kB / 1.112 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000979/1.216, allocations: 253.4 kB / 1.112 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/1.216, allocations: 76 kB / 1.112 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002253/1.218, allocations: 1.525 MB / 1.114 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.51e-07/1.218, allocations: 0 / 1.114 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.005832/1.224, allocations: 1.367 MB / 1.115 GB, free: 1.852 MB / 0.9044 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005085/1.225, allocations: 182.9 kB / 1.115 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01196/1.237, allocations: 6.931 MB / 1.122 GB, free: 10.64 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/1.237, allocations: 4 kB / 1.122 GB, free: 10.63 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.007731/1.245, allocations: 4.406 MB / 1.126 GB, free: 6.152 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004714/1.249, allocations: 1.107 MB / 1.127 GB, free: 5.09 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4395/1.689, allocations: 10.07 MB / 1.137 GB, free: 279.1 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004188/1.693, allocations: 3.645 MB / 1.141 GB, free: 278.3 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002247/1.695, allocations: 0.5591 MB / 1.141 GB, free: 278.2 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/1.696, allocations: 157.7 kB / 1.141 GB, free: 278.2 MB / 0.92 GB Notification: Performance of SimCode: time 1.643e-06/1.696, allocations: 0 / 1.141 GB, free: 278.2 MB / 0.92 GB Notification: Performance of Templates: time 0.1324/1.828, allocations: 75.04 MB / 1.215 GB, free: 251 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)