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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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,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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006488/0.006488, allocations: 101.3 kB / 15.73 MB, free: 6.023 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.001151/0.001151, allocations: 198.3 kB / 16.68 MB, free: 5.938 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.685/1.685, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.549/1.549, allocations: 251.7 MB / 0.5094 GB, free: 3.016 MB / 414.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.001489/0.001489, allocations: 67.89 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2733, allocations: 104.7 MB / 0.8281 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0361/0.3095, allocations: 32.5 MB / 0.8598 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.3272, allocations: 10.37 MB / 0.8699 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00345/0.3307, allocations: 147.2 kB / 0.8701 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.009937/0.3407, allocations: 3.705 MB / 0.8737 GB, free: 1.293 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006322/0.347, allocations: 1.854 MB / 0.8755 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006355/0.3534, allocations: 2.123 MB / 0.8776 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01206/0.3655, allocations: 7.333 MB / 0.8847 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01321/0.3788, allocations: 9.416 MB / 0.8939 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006034/0.3849, allocations: 3.17 MB / 0.897 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005694/0.3906, allocations: 3.477 MB / 0.9004 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001773/0.3924, allocations: 0.6445 MB / 0.9011 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005115/0.3975, allocations: 1.775 MB / 0.9028 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004031/0.4016, allocations: 2.55 MB / 0.9053 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.5564/0.9581, allocations: 2.893 MB / 0.9081 GB, free: 26.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02179/0.9799, allocations: 10.13 MB / 0.918 GB, free: 25.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.98, allocations: 0.5 kB / 0.918 GB, free: 25.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.176e-06/0.98, allocations: 0.5312 kB / 0.918 GB, free: 25.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005858/0.9806, allocations: 0 / 0.918 GB, free: 25.59 MB / 0.7169 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.02424/1.005, allocations: 5.128 MB / 0.923 GB, free: 23.56 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.62e-05/1.005, allocations: 9.844 kB / 0.923 GB, free: 23.56 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008937/1.014, allocations: 0.9812 MB / 0.924 GB, free: 23.28 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008887/1.023, allocations: 3.058 MB / 0.927 GB, free: 22.63 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/1.023, allocations: 347.4 kB / 0.9273 GB, free: 22.62 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00369/1.027, allocations: 461 kB / 0.9277 GB, free: 22.62 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02655/1.054, allocations: 7.668 MB / 0.9352 GB, free: 21.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002188/1.054, allocations: 30.31 kB / 0.9353 GB, free: 21.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009774/1.055, allocations: 197.1 kB / 0.9354 GB, free: 21.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004858/1.055, allocations: 311.5 kB / 0.9357 GB, free: 21.58 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/1.072, allocations: 5.713 MB / 0.9413 GB, free: 21.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04906/1.121, allocations: 34.9 MB / 0.9754 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/1.125, allocations: 2.156 MB / 0.9775 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/1.126, allocations: 1.259 MB / 0.9787 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.003e-05/1.126, allocations: 14.38 kB / 0.9787 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/1.127, allocations: 43.22 kB / 0.9788 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 4.338e-06/1.127, allocations: 0 / 0.9788 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01688/1.143, allocations: 7.151 MB / 0.9858 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/1.144, allocations: 68.06 kB / 0.9858 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/1.146, allocations: 1.494 MB / 0.9873 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/1.146, allocations: 46.36 kB / 0.9873 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0017/1.148, allocations: 2.063 MB / 0.9893 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005534/1.149, allocations: 0.5069 MB / 0.9898 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000516/1.149, allocations: 350.1 kB / 0.9902 GB, free: 12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.149, allocations: 301.1 kB / 0.9905 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/1.151, allocations: 0.9123 MB / 0.9914 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/1.152, allocations: 1.594 MB / 0.9929 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/1.155, allocations: 2.738 MB / 0.9956 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/1.155, allocations: 7.312 kB / 0.9956 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006375/1.162, allocations: 3.538 MB / 0.999 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/1.162, allocations: 15.25 kB / 0.9991 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/1.162, allocations: 30.95 kB / 0.9991 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/1.164, allocations: 0.9015 MB / 1 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.165, allocations: 352.2 kB / 1 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0237/1.189, allocations: 23.12 MB / 1.023 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/1.192, allocations: 95.97 kB / 1.023 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00052/1.192, allocations: 91.98 kB / 1.023 GB, free: 13.26 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005728/1.198, allocations: 1.605 MB / 1.025 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009371/1.199, allocations: 218.6 kB / 1.025 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006453/1.205, allocations: 2.991 MB / 1.028 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/1.205, allocations: 16 kB / 1.028 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-05/1.206, allocations: 8 kB / 1.028 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/1.206, allocations: 7.969 kB / 1.028 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/1.224, allocations: 7.34 MB / 1.035 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.224, allocations: 8 kB / 1.035 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/1.225, allocations: 173.7 kB / 1.035 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002496/1.228, allocations: 0.826 MB / 1.036 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/1.228, allocations: 28 kB / 1.036 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/1.249, allocations: 21.96 MB / 1.057 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/1.25, allocations: 5.594 kB / 1.057 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006494/1.256, allocations: 3.035 MB / 1.06 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/1.258, allocations: 475.6 kB / 1.061 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000684/1.259, allocations: 31.88 kB / 1.061 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.26, allocations: 75.91 kB / 1.061 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005129/1.261, allocations: 122.8 kB / 1.061 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.261, allocations: 40 kB / 1.061 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002149/1.263, allocations: 0.9756 MB / 1.062 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/1.263, allocations: 0 / 1.062 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005087/1.268, allocations: 0.7891 MB / 1.063 GB, free: 2.688 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004407/1.268, allocations: 146.7 kB / 1.063 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007759/1.276, allocations: 4.04 MB / 1.067 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.276, allocations: 0 / 1.067 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004308/1.281, allocations: 2.742 MB / 1.07 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004961/1.286, allocations: 0.7334 MB / 1.07 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.304, allocations: 7.226 MB / 1.077 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005715/1.31, allocations: 3.111 MB / 1.08 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001755/1.311, allocations: 457.9 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/1.312, allocations: 111.5 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of SimCode: time 9.42e-07/1.312, allocations: 2.906 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.07849/1.39, allocations: 36.25 MB / 1.116 GB, free: 12.24 MB / 0.8731 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)