Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001166/0.001166, allocations: 195 kB / 16.25 MB, free: 6.621 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.492/1.492, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.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.69/1.69, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.002218/0.002218, allocations: 67.12 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.278, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03895/0.317, allocations: 34.38 MB / 0.8164 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02276/0.3398, allocations: 11.52 MB / 0.8277 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004329/0.3441, allocations: 151.2 kB / 0.8278 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.3546, allocations: 3.994 MB / 0.8317 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007649/0.3623, allocations: 1.832 MB / 0.8335 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009354/0.3717, allocations: 2.181 MB / 0.8357 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01283/0.3845, allocations: 8.487 MB / 0.8439 GB, free: 15.19 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02417/0.4087, allocations: 13.42 MB / 0.857 GB, free: 1.656 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009137/0.4179, allocations: 3.797 MB / 0.8608 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007792/0.4258, allocations: 4.393 MB / 0.865 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003114/0.4289, allocations: 0.7773 MB / 0.8658 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006169/0.4351, allocations: 2.021 MB / 0.8678 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005337/0.4405, allocations: 3.06 MB / 0.8708 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00818/0.4487, allocations: 3.4 MB / 0.8741 GB, free: 164 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.4654, allocations: 12.02 MB / 0.8858 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.4655, allocations: 0 / 0.8858 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4655, allocations: 3.938 kB / 0.8858 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004217/0.4659, allocations: 0 / 0.8858 GB, free: 4.102 MB / 0.7012 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.02138/0.4873, allocations: 5.791 MB / 0.8915 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.4874, allocations: 11.97 kB / 0.8915 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007515/0.4949, allocations: 1.064 MB / 0.8925 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006806/0.5018, allocations: 3.262 MB / 0.8957 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003435/0.5021, allocations: 415.5 kB / 0.8961 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001913/0.5041, allocations: 0.5393 MB / 0.8966 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.5234, allocations: 9.071 MB / 0.9055 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/0.5237, allocations: 31.69 kB / 0.9055 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008317/0.5245, allocations: 240 kB / 0.9058 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003621/0.5249, allocations: 350.7 kB / 0.9061 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0133/0.5382, allocations: 6.826 MB / 0.9128 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5646/1.103, allocations: 40.11 MB / 0.9519 GB, free: 93.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/1.107, allocations: 3.105 MB / 0.955 GB, free: 91.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002933/1.11, allocations: 1.968 MB / 0.9569 GB, free: 90.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/1.11, allocations: 31.7 kB / 0.9569 GB, free: 90.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/1.11, allocations: 51.2 kB / 0.957 GB, free: 90.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 4.588e-06/1.11, allocations: 0 / 0.957 GB, free: 90.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02687/1.137, allocations: 9.975 MB / 0.9667 GB, free: 87.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/1.137, allocations: 70.59 kB / 0.9668 GB, free: 87.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/1.139, allocations: 1.531 MB / 0.9683 GB, free: 86.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/1.139, allocations: 59.42 kB / 0.9683 GB, free: 86.28 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.141, allocations: 2.255 MB / 0.9705 GB, free: 84.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005728/1.141, allocations: 0.6276 MB / 0.9711 GB, free: 83.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006443/1.142, allocations: 413.4 kB / 0.9715 GB, free: 83.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/1.142, allocations: 301.1 kB / 0.9718 GB, free: 83.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/1.143, allocations: 1.178 MB / 0.973 GB, free: 82.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/1.146, allocations: 1.88 MB / 0.9748 GB, free: 81.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004182/1.15, allocations: 3.372 MB / 0.9781 GB, free: 78.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.15, allocations: 8.25 kB / 0.9781 GB, free: 78.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006785/1.157, allocations: 4.575 MB / 0.9826 GB, free: 76.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/1.157, allocations: 15.78 kB / 0.9826 GB, free: 76.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/1.157, allocations: 23.22 kB / 0.9826 GB, free: 76.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/1.16, allocations: 1.605 MB / 0.9842 GB, free: 75.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.161, allocations: 354.7 kB / 0.9845 GB, free: 75.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/1.182, allocations: 18.6 MB / 1.003 GB, free: 61.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/1.184, allocations: 120.5 kB / 1.003 GB, free: 61.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/1.184, allocations: 93.12 kB / 1.003 GB, free: 61.89 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003278/1.188, allocations: 1.906 MB / 1.005 GB, free: 60.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005707/1.188, allocations: 225.3 kB / 1.005 GB, free: 60.33 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005648/1.194, allocations: 4.09 MB / 1.009 GB, free: 56.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.194, allocations: 16 kB / 1.009 GB, free: 56.19 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/1.194, allocations: 16 kB / 1.009 GB, free: 56.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/1.194, allocations: 11.97 kB / 1.009 GB, free: 56.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/1.207, allocations: 9.479 MB / 1.018 GB, free: 46.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.207, allocations: 4 kB / 1.018 GB, free: 46.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/1.208, allocations: 179.7 kB / 1.018 GB, free: 46.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002848/1.211, allocations: 1.367 MB / 1.02 GB, free: 44.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/1.211, allocations: 36 kB / 1.02 GB, free: 44.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/1.227, allocations: 17.35 MB / 1.037 GB, free: 26.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.227, allocations: 7.938 kB / 1.037 GB, free: 26.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005672/1.233, allocations: 4.073 MB / 1.041 GB, free: 22.81 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.234, allocations: 0.5218 MB / 1.041 GB, free: 22.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/1.234, allocations: 43.92 kB / 1.041 GB, free: 22.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008795/1.235, allocations: 88.39 kB / 1.041 GB, free: 22.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/1.236, allocations: 161.7 kB / 1.042 GB, free: 21.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.86e-05/1.236, allocations: 48 kB / 1.042 GB, free: 21.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001121/1.237, allocations: 1.001 MB / 1.043 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.237, allocations: 0 / 1.043 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003274/1.24, allocations: 0.9883 MB / 1.044 GB, free: 19.92 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002575/1.24, allocations: 151 kB / 1.044 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007298/1.248, allocations: 5.204 MB / 1.049 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.248, allocations: 4 kB / 1.049 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003416/1.251, allocations: 2.654 MB / 1.051 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/1.255, allocations: 0.7813 MB / 1.052 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/1.269, allocations: 11.01 MB / 1.063 GB, free: 0 / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006726/1.276, allocations: 3.571 MB / 1.066 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002142/1.278, allocations: 463.9 kB / 1.067 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/1.278, allocations: 115.4 kB / 1.067 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of SimCode: time 5.06e-06/1.278, allocations: 0 / 1.067 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of Templates: time 0.07645/1.355, allocations: 44.24 MB / 1.11 GB, free: 92 kB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)