Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001736/0.001736, allocations: 194.8 kB / 16.25 MB, free: 6.629 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.366/1.366, allocations: 205.1 MB / 222.1 MB, free: 4.754 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.666/1.666, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.002273/0.002274, allocations: 67.3 kB / 0.6711 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2543, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03538/0.2897, allocations: 32.2 MB / 0.8144 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01707/0.3068, allocations: 10.29 MB / 0.8245 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.3099, allocations: 131.3 kB / 0.8246 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009031/0.319, allocations: 3.489 MB / 0.828 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006895/0.3259, allocations: 1.696 MB / 0.8297 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00602/0.332, allocations: 1.942 MB / 0.8316 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008661/0.3407, allocations: 7.349 MB / 0.8387 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01827/0.359, allocations: 11.6 MB / 0.8501 GB, free: 8.809 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005144/0.3641, allocations: 3.224 MB / 0.8532 GB, free: 5.574 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00543/0.3696, allocations: 3.649 MB / 0.8568 GB, free: 1.914 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.3713, allocations: 0.6484 MB / 0.8574 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004583/0.3759, allocations: 1.767 MB / 0.8591 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004194/0.3802, allocations: 2.553 MB / 0.8616 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005733/0.3859, allocations: 2.89 MB / 0.8645 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.3971, allocations: 10.14 MB / 0.8744 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.3971, allocations: 0 / 0.8744 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3971, allocations: 4 kB / 0.8744 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003535/0.3975, allocations: 0 / 0.8744 GB, free: 15.86 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0117/0.4092, allocations: 4.986 MB / 0.8792 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4092, allocations: 12.03 kB / 0.8792 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009701/0.4102, allocations: 0.6859 MB / 0.8799 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.4152, allocations: 0.9552 MB / 0.8808 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004769/0.42, allocations: 2.866 MB / 0.8836 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.4202, allocations: 345.7 kB / 0.884 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007664/0.421, allocations: 464.2 kB / 0.8844 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.4358, allocations: 7.667 MB / 0.8919 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.436, allocations: 31.69 kB / 0.8919 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005274/0.4365, allocations: 204 kB / 0.8921 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000346/0.4369, allocations: 305 kB / 0.8924 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.4469, allocations: 5.718 MB / 0.898 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4273/0.8742, allocations: 35.09 MB / 0.9323 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.8765, allocations: 2.154 MB / 0.9344 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.878, allocations: 1.263 MB / 0.9356 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.423e-05/0.8781, allocations: 15.11 kB / 0.9356 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.8781, allocations: 50.41 kB / 0.9357 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.256e-06/0.8781, allocations: 0 / 0.9357 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01257/0.8907, allocations: 7.09 MB / 0.9426 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.8907, allocations: 70.02 kB / 0.9427 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.8928, allocations: 1.484 MB / 0.9441 GB, free: 105.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.724e-05/0.893, allocations: 46.58 kB / 0.9442 GB, free: 105.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.894, allocations: 2.004 MB / 0.9461 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.8944, allocations: 487.1 kB / 0.9466 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005076/0.8949, allocations: 356.3 kB / 0.9469 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.734e-05/0.8949, allocations: 303 kB / 0.9472 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.8964, allocations: 0.9103 MB / 0.9481 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.8982, allocations: 1.593 MB / 0.9497 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.9011, allocations: 2.741 MB / 0.9523 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.9011, allocations: 6.5 kB / 0.9523 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00574/0.9069, allocations: 3.529 MB / 0.9558 GB, free: 98.63 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.9069, allocations: 18.66 kB / 0.9558 GB, free: 98.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/0.907, allocations: 26.31 kB / 0.9558 GB, free: 98.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/0.9094, allocations: 0.9049 MB / 0.9567 GB, free: 98.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.9106, allocations: 352.2 kB / 0.957 GB, free: 98.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/0.9284, allocations: 23.12 MB / 0.9796 GB, free: 78.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.9302, allocations: 99.11 kB / 0.9797 GB, free: 78.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.9304, allocations: 86.72 kB / 0.9798 GB, free: 78.14 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 (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.002151/0.9325, allocations: 1.609 MB / 0.9814 GB, free: 77.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/0.9329, allocations: 215.3 kB / 0.9816 GB, free: 77.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004252/0.9371, allocations: 2.994 MB / 0.9845 GB, free: 75.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.9372, allocations: 11.81 kB / 0.9845 GB, free: 75.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/0.9372, allocations: 12.31 kB / 0.9845 GB, free: 75.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.9372, allocations: 7.969 kB / 0.9845 GB, free: 75.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009711/0.9469, allocations: 7.333 MB / 0.9917 GB, free: 70.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.947, allocations: 8.625 kB / 0.9917 GB, free: 70.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/0.9478, allocations: 173.9 kB / 0.9919 GB, free: 70.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/0.9501, allocations: 0.832 MB / 0.9927 GB, free: 70.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.9502, allocations: 23 kB / 0.9927 GB, free: 70.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/0.9647, allocations: 21.95 MB / 1.014 GB, free: 49.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.9647, allocations: 10.81 kB / 1.014 GB, free: 49.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004328/0.9691, allocations: 3.026 MB / 1.017 GB, free: 46.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000737/0.9698, allocations: 466.4 kB / 1.018 GB, free: 46.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.9701, allocations: 31.94 kB / 1.018 GB, free: 46.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.9708, allocations: 71.91 kB / 1.018 GB, free: 46.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/0.9712, allocations: 124.7 kB / 1.018 GB, free: 45.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/0.9713, allocations: 36 kB / 1.018 GB, free: 45.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009868/0.9723, allocations: 0.9756 MB / 1.019 GB, free: 44.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9723, allocations: 3.844 kB / 1.019 GB, free: 44.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002524/0.9748, allocations: 0.7852 MB / 1.02 GB, free: 44.14 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 (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.004147/0.9789, allocations: 3.618 MB / 1.023 GB, free: 40.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005652/0.9846, allocations: 4.645 MB / 1.028 GB, free: 35.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.9846, allocations: 8.062 kB / 1.028 GB, free: 35.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.9876, allocations: 2.723 MB / 1.03 GB, free: 32.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.9905, allocations: 0.7415 MB / 1.031 GB, free: 32.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03313/1.024, allocations: 25.75 MB / 1.056 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/1.026, allocations: 3.109 MB / 1.059 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001293/1.028, allocations: 450 kB / 1.06 GB, free: 1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.029, allocations: 1.544 MB / 1.061 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/1.029, allocations: 0 / 1.061 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/1.138, allocations: 60.43 MB / 1.12 GB, free: 3.719 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/1.139, allocations: 246.6 kB / 1.12 GB, free: 3.465 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.989/4.127, allocations: 0 / 1.12 GB, free: 3.465 MB / 0.795 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)