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.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.62/1.62, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 178.3 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 97.2 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.707e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2407, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8417/1.082, allocations: 186.3 MB / 1.074 GB, free: 14.87 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/1.083, allocations: 95.81 kB / 1.074 GB, free: 14.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1645/1.247, allocations: 66.42 MB / 1.139 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.423e-06/1.247, allocations: 0 / 1.139 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001002/1.248, allocations: 36 kB / 1.139 GB, free: 1.832 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004231/1.252, allocations: 1.679 MB / 1.14 GB, free: 104 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.252, allocations: 15.97 kB / 1.14 GB, free: 88 kB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006969/1.253, allocations: 260.7 kB / 1.141 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/1.256, allocations: 0.6651 MB / 1.141 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003864/1.26, allocations: 1.238 MB / 1.143 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/1.26, allocations: 123.2 kB / 1.143 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006337/1.261, allocations: 156 kB / 1.143 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006075/1.267, allocations: 2.605 MB / 1.145 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/1.267, allocations: 3.938 kB / 1.145 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/1.268, allocations: 67.98 kB / 1.145 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/1.268, allocations: 95.2 kB / 1.146 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004122/1.272, allocations: 2.148 MB / 1.148 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/1.287, allocations: 10.9 MB / 1.158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/1.288, allocations: 0.7363 MB / 1.159 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/1.289, allocations: 0.5208 MB / 1.159 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/1.289, allocations: 93.47 kB / 1.16 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/1.289, allocations: 42.92 kB / 1.16 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=46): time 3.146e-06/1.289, allocations: 0 / 1.16 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=72): time 0.02179/1.311, allocations: 7.155 MB / 1.167 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/1.311, allocations: 85.89 kB / 1.167 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/1.313, allocations: 0.8472 MB / 1.168 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/1.313, allocations: 37.7 kB / 1.168 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005267/1.313, allocations: 0.7775 MB / 1.168 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/1.314, allocations: 264.3 kB / 1.169 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/1.314, allocations: 20 kB / 1.169 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002135/1.314, allocations: 390.8 kB / 1.169 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/1.315, allocations: 0.7639 MB / 1.17 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/1.316, allocations: 1.133 MB / 1.171 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/1.318, allocations: 0.9584 MB / 1.172 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.318, allocations: 4 kB / 1.172 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.007769/1.325, allocations: 3.396 MB / 1.175 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001737/1.327, allocations: 4.266 MB / 1.179 GB, free: 6.734 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.338e-05/1.327, allocations: 15.95 kB / 1.179 GB, free: 6.715 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006136/1.333, allocations: 1.747 MB / 1.181 GB, free: 4.961 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.334, allocations: 227.6 kB / 1.181 GB, free: 4.738 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/1.345, allocations: 7.27 MB / 1.188 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/1.347, allocations: 191.6 kB / 1.188 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/1.347, allocations: 51.92 kB / 1.188 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.347, allocations: 4 kB / 1.189 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006024/1.353, allocations: 2.743 MB / 1.191 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/1.353, allocations: 8 kB / 1.191 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003547/1.357, allocations: 1.033 MB / 1.192 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.358, allocations: 291.5 kB / 1.192 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008918/1.367, allocations: 6.079 MB / 1.198 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.368, allocations: 155.7 kB / 1.199 GB, free: 2.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.369, allocations: 47.98 kB / 1.199 GB, free: 2.578 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003775/1.369, allocations: 168.7 kB / 1.199 GB, free: 2.406 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/1.369, allocations: 86.97 kB / 1.199 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007155/1.376, allocations: 2.999 MB / 1.202 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/1.376, allocations: 8 kB / 1.202 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.376, allocations: 0 / 1.202 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/1.376, allocations: 7.984 kB / 1.202 GB, free: 15.29 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.388, allocations: 5.577 MB / 1.207 GB, free: 9.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/1.388, allocations: 4 kB / 1.207 GB, free: 9.586 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/1.388, allocations: 112.1 kB / 1.207 GB, free: 9.477 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005605/1.394, allocations: 1.635 MB / 1.209 GB, free: 7.836 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.394, allocations: 12 kB / 1.209 GB, free: 7.824 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/1.408, allocations: 9.456 MB / 1.218 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.408, allocations: 4 kB / 1.218 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006717/1.415, allocations: 2.955 MB / 1.221 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009027/1.416, allocations: 331.9 kB / 1.221 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/1.416, allocations: 20 kB / 1.221 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008513/1.417, allocations: 131.8 kB / 1.222 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/1.417, allocations: 68.41 kB / 1.222 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.761e-05/1.417, allocations: 31.89 kB / 1.222 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001032/1.418, allocations: 0.6631 MB / 1.222 GB, free: 9.793 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.51e-07/1.418, allocations: 0 / 1.222 GB, free: 9.793 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002554/1.421, allocations: 0.6991 MB / 1.223 GB, free: 9.094 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.007465/1.428, allocations: 4.15 MB / 1.227 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007131/1.435, allocations: 3.618 MB / 1.231 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.436, allocations: 0 / 1.231 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002527/1.438, allocations: 1.389 MB / 1.232 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/1.439, allocations: 230.6 kB / 1.232 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006744/1.446, allocations: 3.391 MB / 1.235 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/1.448, allocations: 1.758 MB / 1.237 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001808/1.45, allocations: 0.6591 MB / 1.238 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006757/1.45, allocations: 0.5097 MB / 1.238 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of SimCode: time 2.164e-06/1.45, allocations: 0 / 1.238 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.525/1.975, allocations: 41.13 MB / 1.278 GB, free: 266.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/1.976, allocations: 227.1 kB / 1.279 GB, free: 266.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/4.811, allocations: 4 kB / 1.279 GB, free: 266.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)