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_L_N.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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.592/1.592, allocations: 287.5 MB / 302.6 MB, free: 8.234 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.0009781/0.0009782, allocations: 182.1 kB / 371.2 MB, free: 10.82 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.404/1.404, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007748/0.0007748, allocations: 89.28 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003705, allocations: 16.48 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2124, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02536/0.2378, allocations: 31.65 MB / 1.01 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.255, allocations: 11.05 MB / 1.02 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.2584, allocations: 135.2 kB / 1.021 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002617/0.261, allocations: 0.6782 MB / 1.021 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006396/0.2674, allocations: 1.582 MB / 1.023 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005623/0.2731, allocations: 1.432 MB / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01272/0.2858, allocations: 9.706 MB / 1.034 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02491/0.3108, allocations: 14.13 MB / 1.047 GB, free: 5.566 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006664/0.3175, allocations: 2.642 MB / 1.05 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006792/0.3243, allocations: 3.481 MB / 1.053 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001846/0.3262, allocations: 328 kB / 1.054 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004514/0.3307, allocations: 0.9715 MB / 1.055 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005136/0.3359, allocations: 2.447 MB / 1.057 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003069/0.339, allocations: 1.104 MB / 1.058 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.3522, allocations: 9.923 MB / 1.068 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.3523, allocations: 7.938 kB / 1.068 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.096e-06/0.3523, allocations: 0 / 1.068 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004144/0.3527, allocations: 0 / 1.068 GB, free: 0.6055 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.5619/0.9147, allocations: 4.647 MB / 1.072 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.9147, allocations: 9.906 kB / 1.072 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007712/0.9225, allocations: 1.061 MB / 1.073 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009919/0.9324, allocations: 3.262 MB / 1.077 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009152/0.9334, allocations: 415.7 kB / 1.077 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002786/0.9362, allocations: 0.5396 MB / 1.078 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02919/0.9654, allocations: 9.033 MB / 1.086 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/0.9657, allocations: 32.48 kB / 1.086 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006392/0.9663, allocations: 245 kB / 1.087 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005568/0.9669, allocations: 347.6 kB / 1.087 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01877/0.9857, allocations: 6.783 MB / 1.094 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05336/1.039, allocations: 40.19 MB / 1.133 GB, free: 36.85 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004714/1.044, allocations: 3.108 MB / 1.136 GB, free: 34.76 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003164/1.047, allocations: 1.952 MB / 1.138 GB, free: 33.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/1.047, allocations: 27.2 kB / 1.138 GB, free: 33.74 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/1.047, allocations: 51.47 kB / 1.138 GB, free: 33.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=179): time 4.699e-06/1.047, allocations: 0 / 1.138 GB, free: 33.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.0257/1.073, allocations: 10.01 MB / 1.148 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/1.073, allocations: 73.41 kB / 1.148 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/1.076, allocations: 1.51 MB / 1.149 GB, free: 25.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001732/1.076, allocations: 53.7 kB / 1.149 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/1.077, allocations: 2.258 MB / 1.151 GB, free: 23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/1.077, allocations: 0.6339 MB / 1.152 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/1.077, allocations: 44 kB / 1.152 GB, free: 22.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.078, allocations: 402.3 kB / 1.152 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/1.079, allocations: 1.172 MB / 1.154 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/1.081, allocations: 1.873 MB / 1.155 GB, free: 18.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/1.084, allocations: 3.356 MB / 1.159 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.084, allocations: 4 kB / 1.159 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006616/1.091, allocations: 4.561 MB / 1.163 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/1.091, allocations: 16 kB / 1.163 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/1.091, allocations: 20 kB / 1.163 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/1.094, allocations: 1.588 MB / 1.165 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.095, allocations: 351.3 kB / 1.165 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/1.116, allocations: 17.05 MB / 1.182 GB, free: 6.762 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/1.118, allocations: 123.9 kB / 1.182 GB, free: 6.641 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/1.118, allocations: 100.1 kB / 1.182 GB, free: 6.543 MB / 0.698 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 (177): * Single equations (assignments): 173 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003773/1.122, allocations: 1.887 MB / 1.184 GB, free: 4.645 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000558/1.122, allocations: 225.3 kB / 1.184 GB, free: 4.422 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006915/1.129, allocations: 4.09 MB / 1.188 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/1.129, allocations: 20 kB / 1.188 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/1.129, allocations: 16 kB / 1.188 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/1.13, allocations: 7.969 kB / 1.188 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/1.146, allocations: 9.444 MB / 1.197 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.146, allocations: 4 kB / 1.197 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008048/1.147, allocations: 183.7 kB / 1.197 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003349/1.15, allocations: 1.346 MB / 1.199 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/1.15, allocations: 36 kB / 1.199 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0203/1.171, allocations: 15.96 MB / 1.214 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.171, allocations: 4 kB / 1.214 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007046/1.178, allocations: 4.054 MB / 1.218 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.179, allocations: 0.5334 MB / 1.219 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/1.179, allocations: 40.12 kB / 1.219 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008928/1.18, allocations: 87.89 kB / 1.219 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005022/1.181, allocations: 173.2 kB / 1.219 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.181, allocations: 48 kB / 1.219 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001507/1.182, allocations: 0.989 MB / 1.22 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.61e-07/1.182, allocations: 0 / 1.22 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003641/1.186, allocations: 0.9844 MB / 1.221 GB, free: 13.5 MB / 0.7448 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003113/1.186, allocations: 143.1 kB / 1.221 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007303/1.194, allocations: 4.285 MB / 1.225 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.194, allocations: 256 / 1.225 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004387/1.198, allocations: 2.674 MB / 1.228 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004441/1.203, allocations: 0.6965 MB / 1.229 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/1.219, allocations: 10.52 MB / 1.239 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004092/1.223, allocations: 3.577 MB / 1.242 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001776/1.225, allocations: 467.9 kB / 1.243 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/1.226, allocations: 111.4 kB / 1.243 GB, free: 6.832 MB / 0.7605 GB Notification: Performance of SimCode: time 9.52e-07/1.226, allocations: 0 / 1.243 GB, free: 6.832 MB / 0.7605 GB Notification: Performance of Templates: time 0.07845/1.304, allocations: 40.79 MB / 1.283 GB, free: 14.45 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)