Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.628/1.628, allocations: 288.4 MB / 303.4 MB, free: 8.145 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.001327/0.001327, allocations: 184.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0008328/0.0008328, allocations: 82.38 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 11.81 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2503, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02255/0.2729, allocations: 27.87 MB / 1.007 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02048/0.2934, allocations: 12.82 MB / 1.019 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003581/0.2971, allocations: 127.2 kB / 1.019 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.2991, allocations: 0.6355 MB / 1.02 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008283/0.3074, allocations: 2.196 MB / 1.022 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005888/0.3133, allocations: 1.197 MB / 1.023 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01244/0.3258, allocations: 8.362 MB / 1.032 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01529/0.3411, allocations: 8.526 MB / 1.04 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006105/0.3472, allocations: 2.541 MB / 1.042 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005914/0.3532, allocations: 2.853 MB / 1.045 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006974/0.3539, allocations: 243.9 kB / 1.045 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.3564, allocations: 0.7023 MB / 1.046 GB, free: 7.344 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.3584, allocations: 1.901 MB / 1.048 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.3599, allocations: 0.9641 MB / 1.049 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00853/0.3684, allocations: 7.733 MB / 1.056 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.3685, allocations: 0 / 1.056 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.278e-06/0.3685, allocations: 0 / 1.056 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003028/0.3688, allocations: 0 / 1.056 GB, free: 12.71 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.0109/0.3797, allocations: 4.197 MB / 1.061 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3798, allocations: 8.031 kB / 1.061 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007225/0.387, allocations: 1.005 MB / 1.061 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008754/0.3958, allocations: 2.818 MB / 1.064 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.3961, allocations: 316.5 kB / 1.065 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/0.3974, allocations: 415.9 kB / 1.065 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6373/1.035, allocations: 6.753 MB / 1.072 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001829/1.035, allocations: 20.53 kB / 1.072 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007413/1.036, allocations: 188.5 kB / 1.072 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001019/1.037, allocations: 371.7 kB / 1.072 GB, free: 78.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/1.053, allocations: 5.084 MB / 1.077 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04572/1.099, allocations: 30.75 MB / 1.107 GB, free: 52.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/1.101, allocations: 1.382 MB / 1.108 GB, free: 51.75 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002415/1.104, allocations: 1.333 MB / 1.11 GB, free: 51.08 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/1.104, allocations: 14.09 kB / 1.11 GB, free: 51.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.283e-05/1.104, allocations: 51.41 kB / 1.11 GB, free: 51.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 4.95e-06/1.104, allocations: 0 / 1.11 GB, free: 51.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.09098/1.195, allocations: 22.78 MB / 1.132 GB, free: 40.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/1.195, allocations: 71.78 kB / 1.132 GB, free: 40.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004547/1.199, allocations: 2.039 MB / 1.134 GB, free: 39.67 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003665/1.2, allocations: 60.89 kB / 1.134 GB, free: 39.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001563/1.201, allocations: 2.013 MB / 1.136 GB, free: 37.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008011/1.202, allocations: 0.6768 MB / 1.137 GB, free: 37.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/1.202, allocations: 43 kB / 1.137 GB, free: 37.22 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.203, allocations: 402.6 kB / 1.137 GB, free: 36.85 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/1.205, allocations: 1.417 MB / 1.139 GB, free: 36.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/1.207, allocations: 2.002 MB / 1.141 GB, free: 34.58 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/1.21, allocations: 1.73 MB / 1.142 GB, free: 33.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/1.21, allocations: 8 kB / 1.142 GB, free: 33.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01048/1.22, allocations: 5.636 MB / 1.148 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/1.22, allocations: 13.88 kB / 1.148 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/1.22, allocations: 16 kB / 1.148 GB, free: 27.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006304/1.227, allocations: 2.072 MB / 1.15 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.228, allocations: 383.9 kB / 1.15 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03308/1.262, allocations: 35.5 MB / 1.185 GB, free: 2.941 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/1.265, allocations: 127.9 kB / 1.185 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005241/1.265, allocations: 88.09 kB / 1.185 GB, free: 2.73 MB / 0.698 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.004088/1.269, allocations: 1.509 MB / 1.187 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/1.271, allocations: 284.7 kB / 1.187 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.283, allocations: 5.191 MB / 1.192 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.59e-05/1.283, allocations: 23.95 kB / 1.192 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00011/1.283, allocations: 20 kB / 1.192 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.501e-05/1.284, allocations: 11.95 kB / 1.192 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/1.308, allocations: 9.666 MB / 1.201 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/1.308, allocations: 6.156 kB / 1.201 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008961/1.309, allocations: 215.6 kB / 1.202 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006398/1.316, allocations: 1.84 MB / 1.203 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/1.316, allocations: 39.98 kB / 1.203 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03959/1.356, allocations: 34.5 MB / 1.237 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/1.356, allocations: 8 kB / 1.237 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/1.367, allocations: 4.896 MB / 1.242 GB, free: 5.711 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.369, allocations: 0.6225 MB / 1.243 GB, free: 5.066 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009321/1.37, allocations: 40 kB / 1.243 GB, free: 5.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.372, allocations: 131.8 kB / 1.243 GB, free: 4.898 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008167/1.372, allocations: 189.5 kB / 1.243 GB, free: 4.711 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/1.373, allocations: 60 kB / 1.243 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002852/1.376, allocations: 1.363 MB / 1.244 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/1.376, allocations: 3.938 kB / 1.244 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004717/1.38, allocations: 1.031 MB / 1.245 GB, free: 2.246 MB / 0.7605 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004496/1.381, allocations: 167 kB / 1.245 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.391, allocations: 6.259 MB / 1.252 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/1.391, allocations: 4 kB / 1.252 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.007507/1.399, allocations: 4.394 MB / 1.256 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005641/1.405, allocations: 0.9136 MB / 1.257 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/1.421, allocations: 9.589 MB / 1.266 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/1.425, allocations: 3.123 MB / 1.269 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00241/1.427, allocations: 0.5237 MB / 1.27 GB, free: 8.738 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/1.428, allocations: 151.4 kB / 1.27 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of SimCode: time 2.093e-06/1.428, allocations: 0 / 1.27 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of Templates: time 0.1014/1.529, allocations: 55.52 MB / 1.324 GB, free: 1.805 MB / 0.8386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)