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_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.606/1.606, allocations: 252 MB / 267.6 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 177.6 kB / 327.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 0.5783 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007048/0.0007047, allocations: 91.88 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.000295, allocations: 15.25 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.174, allocations: 106.3 MB / 0.9008 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03119/0.2052, allocations: 29.65 MB / 0.9298 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.2271, allocations: 9.855 MB / 0.9394 GB, free: 24.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003367/0.2305, allocations: 127.2 kB / 0.9395 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.2331, allocations: 0.6201 MB / 0.9401 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005889/0.239, allocations: 1.462 MB / 0.9416 GB, free: 22.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006174/0.2452, allocations: 1.256 MB / 0.9428 GB, free: 21.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01195/0.2572, allocations: 8.266 MB / 0.9509 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02387/0.2811, allocations: 10.33 MB / 0.961 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005045/0.2862, allocations: 2.26 MB / 0.9632 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006876/0.2931, allocations: 2.897 MB / 0.966 GB, free: 13.33 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.001415/0.2946, allocations: 268 kB / 0.9663 GB, free: 13.07 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.2989, allocations: 0.8311 MB / 0.9671 GB, free: 12.23 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.004547/0.3034, allocations: 2.042 MB / 0.9691 GB, free: 10.19 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.3062, allocations: 0.9563 MB / 0.97 GB, free: 9.223 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.3207, allocations: 8.35 MB / 0.9781 GB, free: 0.8477 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3208, allocations: 0 / 0.9781 GB, free: 0.8477 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3208, allocations: 0 / 0.9781 GB, free: 0.8477 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0003454/0.3211, allocations: 3.938 kB / 0.9781 GB, free: 0.8438 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01545/0.3366, allocations: 4.061 MB / 0.9821 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.3367, allocations: 8.031 kB / 0.9821 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009601/0.3463, allocations: 0.9658 MB / 0.9831 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00908/0.3554, allocations: 2.796 MB / 0.9858 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004428/0.3559, allocations: 353.3 kB / 0.9861 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/0.3578, allocations: 467.8 kB / 0.9866 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.3816, allocations: 7.628 MB / 0.994 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001902/0.3819, allocations: 19.78 kB / 0.994 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009541/0.3828, allocations: 200 kB / 0.9942 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006148/0.3835, allocations: 324.9 kB / 0.9945 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01822/0.4017, allocations: 5.671 MB / 1 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0614/0.4632, allocations: 35.13 MB / 1.034 GB, free: 3.543 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004982/0.4682, allocations: 2.146 MB / 1.036 GB, free: 1.277 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002936/0.4712, allocations: 1.264 MB / 1.038 GB, free: 16 kB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 9.907e-05/0.4713, allocations: 13.31 kB / 1.038 GB, free: 0 / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.4715, allocations: 47.88 kB / 1.038 GB, free: 15.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=133): time 6.682e-06/0.4715, allocations: 4 kB / 1.038 GB, free: 15.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.01605/0.4875, allocations: 7.085 MB / 1.045 GB, free: 8.582 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.4876, allocations: 64.72 kB / 1.045 GB, free: 8.508 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.4895, allocations: 1.468 MB / 1.046 GB, free: 6.992 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.4897, allocations: 53.69 kB / 1.046 GB, free: 6.934 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.491, allocations: 2.012 MB / 1.048 GB, free: 4.895 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/0.4915, allocations: 485 kB / 1.049 GB, free: 4.414 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/0.4916, allocations: 43.94 kB / 1.049 GB, free: 4.371 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4918, allocations: 377.9 kB / 1.049 GB, free: 3.996 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4931, allocations: 0.9057 MB / 1.05 GB, free: 3.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.4948, allocations: 1.589 MB / 1.052 GB, free: 1.188 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.4964, allocations: 1.177 MB / 1.053 GB, free: 12 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.4964, allocations: 4 kB / 1.053 GB, free: 8 kB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.3663/0.8627, allocations: 3.513 MB / 1.056 GB, free: 136.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.8627, allocations: 18.69 kB / 1.056 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.8628, allocations: 21.06 kB / 1.056 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/0.8653, allocations: 0.8909 MB / 1.057 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.8664, allocations: 351.3 kB / 1.057 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/0.884, allocations: 21.2 MB / 1.078 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.8857, allocations: 101.9 kB / 1.078 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/0.8859, allocations: 86.56 kB / 1.078 GB, free: 120.7 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 (185): * 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: 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,(3,77.8%) 5,(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.003234/0.8892, allocations: 1.61 MB / 1.08 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/0.8896, allocations: 208.7 kB / 1.08 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005234/0.8949, allocations: 2.981 MB / 1.083 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.8949, allocations: 16.39 kB / 1.083 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.8949, allocations: 9.531 kB / 1.083 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.895, allocations: 3.516 kB / 1.083 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.9055, allocations: 7.325 MB / 1.09 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.9055, allocations: 3.969 kB / 1.09 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.9062, allocations: 180.7 kB / 1.09 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.9084, allocations: 0.8232 MB / 1.091 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.212e-05/0.9085, allocations: 27.94 kB / 1.091 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.9226, allocations: 20.29 MB / 1.111 GB, free: 97.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.9227, allocations: 4.688 kB / 1.111 GB, free: 97.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004772/0.9274, allocations: 3.016 MB / 1.114 GB, free: 95.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008387/0.9283, allocations: 461.5 kB / 1.114 GB, free: 95.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.9285, allocations: 27.72 kB / 1.114 GB, free: 95.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/0.9292, allocations: 75.48 kB / 1.114 GB, free: 95.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/0.9295, allocations: 124.6 kB / 1.115 GB, free: 95.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/0.9296, allocations: 39.84 kB / 1.115 GB, free: 95.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001062/0.9307, allocations: 0.9612 MB / 1.115 GB, free: 94.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9307, allocations: 0 / 1.115 GB, free: 94.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00265/0.9334, allocations: 0.7872 MB / 1.116 GB, free: 94.89 MB / 0.698 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 (91): * Single equations (assignments): 79 * 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%) 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%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002131/0.9336, allocations: 145.6 kB / 1.116 GB, free: 94.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004605/0.9382, allocations: 4.004 MB / 1.12 GB, free: 92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9382, allocations: 3.375 kB / 1.12 GB, free: 92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002855/0.9411, allocations: 2.738 MB / 1.123 GB, free: 89.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.9438, allocations: 0.6709 MB / 1.124 GB, free: 88.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009884/0.9537, allocations: 9.373 MB / 1.133 GB, free: 79.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/0.9561, allocations: 3.171 MB / 1.136 GB, free: 75.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/0.9566, allocations: 127.4 kB / 1.136 GB, free: 75.87 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/0.9566, allocations: 0 / 1.136 GB, free: 75.87 MB / 0.698 GB Notification: Performance of Templates: time 0.6218/1.578, allocations: 321.1 MB / 1.45 GB, free: 257.6 MB / 0.8699 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)