Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.724/2.724, allocations: 287.5 MB / 302.4 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 180.9 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009794/0.0009793, allocations: 96.86 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005484/0.0005487, allocations: 13.45 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2603, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.06732/0.3277, allocations: 31.92 MB / 1.01 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03349/0.3613, allocations: 9.55 MB / 1.019 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005077/0.3664, allocations: 131.2 kB / 1.019 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004832/0.3713, allocations: 0.6743 MB / 1.02 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009541/0.3809, allocations: 1.64 MB / 1.021 GB, free: 316 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.008041/0.389, allocations: 1.154 MB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02172/0.4108, allocations: 8.845 MB / 1.031 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03075/0.4416, allocations: 10.39 MB / 1.041 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007206/0.4489, allocations: 2.432 MB / 1.044 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008283/0.4573, allocations: 3.126 MB / 1.047 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002058/0.4594, allocations: 284 kB / 1.047 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00471/0.4641, allocations: 0.6439 MB / 1.047 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.005412/0.4696, allocations: 2.093 MB / 1.05 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003527/0.4732, allocations: 1.027 MB / 1.051 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01607/0.4893, allocations: 8.564 MB / 1.059 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.4894, allocations: 0 / 1.059 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.018e-06/0.4894, allocations: 4 kB / 1.059 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004017/0.4898, allocations: 0 / 1.059 GB, free: 9.602 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01739/0.5072, allocations: 4.41 MB / 1.063 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.5073, allocations: 8.031 kB / 1.063 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00859/0.5159, allocations: 0.9655 MB / 1.064 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.5261, allocations: 2.925 MB / 1.067 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005995/0.5268, allocations: 365.5 kB / 1.067 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/0.5291, allocations: 464 kB / 1.068 GB, free: 356 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7043/1.233, allocations: 7.861 MB / 1.075 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003032/1.234, allocations: 22.91 kB / 1.076 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001736/1.236, allocations: 210.2 kB / 1.076 GB, free: 77.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001107/1.237, allocations: 364.3 kB / 1.076 GB, free: 77.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02184/1.259, allocations: 5.899 MB / 1.082 GB, free: 75.58 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05763/1.316, allocations: 36.24 MB / 1.117 GB, free: 45.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005723/1.322, allocations: 2.132 MB / 1.119 GB, free: 44.38 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003419/1.326, allocations: 1.481 MB / 1.121 GB, free: 43.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/1.326, allocations: 19.2 kB / 1.121 GB, free: 43.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/1.326, allocations: 55.81 kB / 1.121 GB, free: 43.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 5.259e-06/1.326, allocations: 3.938 kB / 1.121 GB, free: 43.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.0239/1.35, allocations: 7.542 MB / 1.128 GB, free: 38.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/1.35, allocations: 68.97 kB / 1.128 GB, free: 38.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/1.354, allocations: 1.841 MB / 1.13 GB, free: 37.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004417/1.355, allocations: 53.83 kB / 1.13 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.356, allocations: 2.123 MB / 1.132 GB, free: 35.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009181/1.357, allocations: 0.5615 MB / 1.133 GB, free: 35.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/1.357, allocations: 44.66 kB / 1.133 GB, free: 35.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.358, allocations: 398.1 kB / 1.133 GB, free: 34.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/1.36, allocations: 1.049 MB / 1.134 GB, free: 34.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003638/1.364, allocations: 1.756 MB / 1.136 GB, free: 32.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/1.368, allocations: 1.345 MB / 1.137 GB, free: 32.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.251e-05/1.368, allocations: 10.48 kB / 1.137 GB, free: 32.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01341/1.382, allocations: 3.891 MB / 1.141 GB, free: 29.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/1.382, allocations: 24.39 kB / 1.141 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.983e-05/1.382, allocations: 25.97 kB / 1.141 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004351/1.386, allocations: 0.9317 MB / 1.142 GB, free: 29.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003147/1.389, allocations: 425.1 kB / 1.142 GB, free: 29.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02533/1.415, allocations: 21.06 MB / 1.163 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/1.418, allocations: 119.9 kB / 1.163 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005307/1.419, allocations: 92 kB / 1.163 GB, free: 8.508 MB / 0.6823 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004493/1.423, allocations: 1.652 MB / 1.165 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00085/1.424, allocations: 257 kB / 1.165 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008539/1.433, allocations: 3.251 MB / 1.168 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/1.433, allocations: 16 kB / 1.168 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.77e-05/1.433, allocations: 8 kB / 1.168 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-05/1.433, allocations: 7.969 kB / 1.168 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02209/1.455, allocations: 7.542 MB / 1.176 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.531e-05/1.455, allocations: 4 kB / 1.176 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/1.457, allocations: 215.6 kB / 1.176 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004549/1.462, allocations: 0.8949 MB / 1.177 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003947/1.462, allocations: 32 kB / 1.177 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0331/1.495, allocations: 21.02 MB / 1.197 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/1.495, allocations: 4 kB / 1.197 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/1.506, allocations: 3.372 MB / 1.201 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002235/1.508, allocations: 0.5255 MB / 1.201 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008727/1.509, allocations: 32 kB / 1.201 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.511, allocations: 91.88 kB / 1.201 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006291/1.512, allocations: 137.8 kB / 1.201 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.512, allocations: 52 kB / 1.201 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00315/1.515, allocations: 1.205 MB / 1.202 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.82e-07/1.516, allocations: 0 / 1.202 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005556/1.521, allocations: 0.9102 MB / 1.203 GB, free: 13.36 MB / 0.7292 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006491/1.522, allocations: 158.9 kB / 1.204 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.534, allocations: 4.407 MB / 1.208 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/1.534, allocations: 4 kB / 1.208 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008023/1.542, allocations: 2.989 MB / 1.211 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006801/1.549, allocations: 0.7754 MB / 1.212 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/1.573, allocations: 9.25 MB / 1.221 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007392/1.581, allocations: 3.215 MB / 1.224 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00347/1.584, allocations: 0.5215 MB / 1.224 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008682/1.585, allocations: 139.4 kB / 1.224 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of SimCode: time 1.273e-06/1.585, allocations: 4 kB / 1.224 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of Templates: time 0.1246/1.71, allocations: 39.76 MB / 1.263 GB, free: 304 kB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)