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.0009962/0.0009966, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.009031/0.009032, allocations: 171 kB / 16.27 MB, free: 6.324 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.508/1.508, allocations: 205.4 MB / 222.4 MB, free: 5.512 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.54/1.54, allocations: 252 MB / 0.5105 GB, free: 4.68 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.0005759/0.0005757, allocations: 16 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4865, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03114/0.5177, allocations: 31.44 MB / 0.7594 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.5336, allocations: 10.28 MB / 0.7695 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002744/0.5363, allocations: 127.3 kB / 0.7696 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.5386, allocations: 0.6279 MB / 0.7702 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005041/0.5437, allocations: 1.739 MB / 0.7719 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004667/0.5484, allocations: 1.757 MB / 0.7736 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01175/0.5602, allocations: 10.58 MB / 0.784 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02043/0.5806, allocations: 12.06 MB / 0.7957 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.5852, allocations: 2.237 MB / 0.7979 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005459/0.5907, allocations: 2.962 MB / 0.8008 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001483/0.5922, allocations: 268 kB / 0.8011 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004384/0.5967, allocations: 1.7 MB / 0.8027 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003138/0.5998, allocations: 2.05 MB / 0.8047 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004777/0.6046, allocations: 2.349 MB / 0.807 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.6164, allocations: 9.648 MB / 0.8165 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.6165, allocations: 0 / 0.8165 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.835e-06/0.6165, allocations: 0 / 0.8165 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003826/0.6169, allocations: 0 / 0.8165 GB, free: 1.105 MB / 0.6231 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.009878/0.6268, allocations: 4.019 MB / 0.8204 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.6268, allocations: 15.97 kB / 0.8204 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006041/0.6329, allocations: 0.9551 MB / 0.8213 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006587/0.6395, allocations: 2.859 MB / 0.8241 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004457/0.64, allocations: 345.7 kB / 0.8244 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.6417, allocations: 468.1 kB / 0.8249 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01694/0.6587, allocations: 7.679 MB / 0.8324 GB, free: 304 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002504/0.659, allocations: 23.78 kB / 0.8324 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001114/0.6601, allocations: 200 kB / 0.8326 GB, free: 80 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003768/0.6605, allocations: 316.9 kB / 0.8329 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.672, allocations: 5.706 MB / 0.8385 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04154/0.7135, allocations: 35.14 MB / 0.8728 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.7167, allocations: 2.153 MB / 0.8749 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.7186, allocations: 1.266 MB / 0.8761 GB, free: 160 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.7188, allocations: 17.3 kB / 0.8762 GB, free: 144 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.7188, allocations: 51.81 kB / 0.8762 GB, free: 84 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=133): time 5.34e-06/0.7188, allocations: 0 / 0.8762 GB, free: 84 kB / 0.6856 GB Notification: Performance of matching and sorting (n=136): time 0.01443/0.7332, allocations: 7.12 MB / 0.8832 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.7333, allocations: 68.7 kB / 0.8832 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.7355, allocations: 1.48 MB / 0.8847 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.7356, allocations: 45.7 kB / 0.8847 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.7369, allocations: 2.012 MB / 0.8867 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004348/0.7373, allocations: 493 kB / 0.8871 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.7376, allocations: 149.6 kB / 0.8873 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7377, allocations: 301.1 kB / 0.8876 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.7391, allocations: 0.9096 MB / 0.8885 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.7411, allocations: 1.593 MB / 0.89 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003671/0.7447, allocations: 2.737 MB / 0.8927 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/0.7448, allocations: 12 kB / 0.8927 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006288/0.7511, allocations: 3.526 MB / 0.8961 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.7511, allocations: 16 kB / 0.8962 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.7512, allocations: 20 kB / 0.8962 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.7537, allocations: 0.916 MB / 0.8971 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.7549, allocations: 339.4 kB / 0.8974 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4921/1.247, allocations: 21.23 MB / 0.9181 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/1.249, allocations: 99.81 kB / 0.9182 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/1.249, allocations: 87.17 kB / 0.9183 GB, free: 150.4 MB / 0.7169 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.003701/1.253, allocations: 1.604 MB / 0.9199 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005206/1.254, allocations: 204.2 kB / 0.9201 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006639/1.26, allocations: 2.994 MB / 0.923 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/1.26, allocations: 13.56 kB / 0.923 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-05/1.26, allocations: 12.47 kB / 0.923 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.26, allocations: 4.234 kB / 0.923 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/1.272, allocations: 7.341 MB / 0.9302 GB, free: 145.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/1.272, allocations: 7.797 kB / 0.9302 GB, free: 145.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/1.273, allocations: 175.5 kB / 0.9304 GB, free: 145.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/1.275, allocations: 0.8245 MB / 0.9312 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/1.275, allocations: 31.81 kB / 0.9312 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/1.29, allocations: 20.33 MB / 0.9511 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.29, allocations: 11.78 kB / 0.9511 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004613/1.294, allocations: 3.015 MB / 0.954 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008225/1.295, allocations: 465.2 kB / 0.9545 GB, free: 125.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/1.295, allocations: 27.5 kB / 0.9545 GB, free: 125.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007728/1.296, allocations: 76.91 kB / 0.9546 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003414/1.297, allocations: 125.1 kB / 0.9547 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-05/1.297, allocations: 38.19 kB / 0.9547 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001171/1.298, allocations: 0.977 MB / 0.9557 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.298, allocations: 0 / 0.9557 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002667/1.301, allocations: 0.7849 MB / 0.9564 GB, free: 124.6 MB / 0.7169 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.0002633/1.301, allocations: 153.4 kB / 0.9566 GB, free: 124.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004676/1.306, allocations: 4.026 MB / 0.9605 GB, free: 120.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.306, allocations: 0 / 0.9605 GB, free: 120.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/1.309, allocations: 2.744 MB / 0.9632 GB, free: 118 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/1.313, allocations: 0.6758 MB / 0.9639 GB, free: 117.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/1.325, allocations: 9.144 MB / 0.9728 GB, free: 108.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003065/1.328, allocations: 3.116 MB / 0.9758 GB, free: 105 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001615/1.33, allocations: 454 kB / 0.9763 GB, free: 104.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/1.33, allocations: 115.4 kB / 0.9764 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.372e-06/1.33, allocations: 0 / 0.9764 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.05297/1.383, allocations: 34.13 MB / 1.01 GB, free: 70.68 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: