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.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.673/1.673, allocations: 287.4 MB / 302.6 MB, free: 8.188 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.001209/0.001209, allocations: 186 kB / 371.1 MB, free: 10.73 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.59/1.59, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007406/0.0007408, allocations: 89.3 kB / 0.7431 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 12.72 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1882, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0236/0.2118, allocations: 29.63 MB / 1.008 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.2261, allocations: 9.859 MB / 1.017 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.2283, allocations: 127.2 kB / 1.017 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.2298, allocations: 0.6162 MB / 1.018 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003707/0.2335, allocations: 1.466 MB / 1.019 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.2372, allocations: 1.259 MB / 1.021 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00864/0.2459, allocations: 8.342 MB / 1.029 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01604/0.2619, allocations: 11.91 MB / 1.04 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.2661, allocations: 2.257 MB / 1.043 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00411/0.2702, allocations: 2.904 MB / 1.046 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000506/0.2707, allocations: 264 kB / 1.046 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.2729, allocations: 0.8311 MB / 1.047 GB, free: 6.34 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001949/0.2749, allocations: 2.034 MB / 1.049 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.276, allocations: 0.9563 MB / 1.049 GB, free: 3.336 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.007415/0.2834, allocations: 8.349 MB / 1.058 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.2835, allocations: 0 / 1.058 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2835, allocations: 0 / 1.058 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002948/0.2838, allocations: 0 / 1.058 GB, free: 10.96 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009079/0.2929, allocations: 4.015 MB / 1.062 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.2929, allocations: 12.03 kB / 1.062 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001277/0.2942, allocations: 0.6898 MB / 1.062 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00469/0.2989, allocations: 0.9512 MB / 1.063 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004507/0.3035, allocations: 2.859 MB / 1.066 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.3037, allocations: 349.7 kB / 1.066 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006465/0.3043, allocations: 464.2 kB / 1.067 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4527/0.7571, allocations: 7.627 MB / 1.074 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/0.7573, allocations: 28.92 kB / 1.074 GB, free: 78.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004968/0.7578, allocations: 197.2 kB / 1.074 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004779/0.7583, allocations: 317.5 kB / 1.075 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/0.7712, allocations: 5.668 MB / 1.08 GB, free: 75.87 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03592/0.8072, allocations: 35.15 MB / 1.115 GB, free: 47.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/0.8096, allocations: 2.155 MB / 1.117 GB, free: 45.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.811, allocations: 1.265 MB / 1.118 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-05/0.8111, allocations: 15 kB / 1.118 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.8111, allocations: 51.78 kB / 1.118 GB, free: 44.85 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=133): time 3.587e-06/0.8111, allocations: 0 / 1.118 GB, free: 44.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.01236/0.8235, allocations: 7.102 MB / 1.125 GB, free: 40.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.8236, allocations: 66.34 kB / 1.125 GB, free: 40.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.8257, allocations: 1.469 MB / 1.126 GB, free: 39.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.8259, allocations: 50.64 kB / 1.126 GB, free: 39.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009507/0.8268, allocations: 2.004 MB / 1.128 GB, free: 37.48 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.8272, allocations: 497.3 kB / 1.129 GB, free: 37.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.8273, allocations: 35.5 kB / 1.129 GB, free: 37.04 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.8274, allocations: 385.3 kB / 1.129 GB, free: 36.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.8287, allocations: 0.9026 MB / 1.13 GB, free: 36.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.8303, allocations: 1.589 MB / 1.132 GB, free: 34.81 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/0.8337, allocations: 2.718 MB / 1.134 GB, free: 32.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.8337, allocations: 6.375 kB / 1.134 GB, free: 32.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006141/0.8398, allocations: 3.524 MB / 1.138 GB, free: 30.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.8399, allocations: 14.22 kB / 1.138 GB, free: 30.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.8399, allocations: 22.91 kB / 1.138 GB, free: 30.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/0.8423, allocations: 0.891 MB / 1.139 GB, free: 30.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.8435, allocations: 350.2 kB / 1.139 GB, free: 30.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/0.8583, allocations: 21.2 MB / 1.16 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.86, allocations: 96.95 kB / 1.16 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.8601, allocations: 92.38 kB / 1.16 GB, free: 10.59 MB / 0.6823 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.002631/0.8627, allocations: 1.61 MB / 1.162 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/0.8631, allocations: 203.9 kB / 1.162 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.8674, allocations: 2.987 MB / 1.165 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.8674, allocations: 12 kB / 1.165 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.8674, allocations: 8 kB / 1.165 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.8674, allocations: 7.969 kB / 1.165 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009581/0.877, allocations: 7.323 MB / 1.172 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.8771, allocations: 7.938 kB / 1.172 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007988/0.8779, allocations: 179.7 kB / 1.172 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/0.8802, allocations: 0.8259 MB / 1.173 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.792e-05/0.8803, allocations: 27.94 kB / 1.173 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/0.8966, allocations: 20.3 MB / 1.193 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.8966, allocations: 7.938 kB / 1.193 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004767/0.9014, allocations: 3.015 MB / 1.196 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00087/0.9023, allocations: 466.4 kB / 1.196 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.9025, allocations: 35.92 kB / 1.196 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007148/0.9032, allocations: 67.92 kB / 1.196 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/0.9035, allocations: 124.7 kB / 1.196 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.9036, allocations: 39.98 kB / 1.196 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001157/0.9048, allocations: 0.9561 MB / 1.197 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9048, allocations: 4 kB / 1.197 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002604/0.9074, allocations: 0.7852 MB / 1.198 GB, free: 2.57 MB / 0.7136 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.004778/0.9122, allocations: 3.611 MB / 1.202 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005476/0.9177, allocations: 4.003 MB / 1.205 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.9177, allocations: 0 / 1.205 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003348/0.921, allocations: 2.734 MB / 1.208 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/0.9248, allocations: 0.6534 MB / 1.209 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02741/0.9523, allocations: 19.03 MB / 1.227 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002962/0.9553, allocations: 3.116 MB / 1.23 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001298/0.9566, allocations: 461.9 kB / 1.231 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/0.9581, allocations: 1.546 MB / 1.232 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of SimCode: time 8.42e-07/0.9581, allocations: 0 / 1.232 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3708/1.329, allocations: 59.02 MB / 1.29 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/1.329, allocations: 228.1 kB / 1.29 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.662/4.991, allocations: 0 / 1.29 GB, free: 3.16 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)