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_RL_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.ACLine_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.376/1.376, allocations: 249.5 MB / 257 MB, free: 6.82 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.0009738/0.0009738, allocations: 176.8 kB / 316.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0007957/0.0007954, allocations: 102 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.764e-05/1.766e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1656, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6711/0.8367, allocations: 190.3 MB / 1.071 GB, free: 13.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.8371, allocations: 99.5 kB / 1.071 GB, free: 13.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2613/1.098, allocations: 112.7 MB / 1.181 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.03e-06/1.098, allocations: 7.984 kB / 1.181 GB, free: 5.637 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003734/1.099, allocations: 71.98 kB / 1.181 GB, free: 5.566 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009405/1.108, allocations: 2.676 MB / 1.184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.108, allocations: 8.031 kB / 1.184 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004964/1.113, allocations: 0.6596 MB / 1.185 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005546/1.119, allocations: 2.071 MB / 1.187 GB, free: 24 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/1.119, allocations: 99.98 kB / 1.187 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/1.12, allocations: 168 kB / 1.187 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007083/1.127, allocations: 2.984 MB / 1.19 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008373/1.136, allocations: 4.114 MB / 1.194 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.088e-05/1.136, allocations: 19.84 kB / 1.194 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000271/1.136, allocations: 8 kB / 1.194 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001861/1.136, allocations: 165.8 kB / 1.194 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02233/1.159, allocations: 20.99 MB / 1.215 GB, free: 1.246 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/1.16, allocations: 1.24 MB / 1.216 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/1.162, allocations: 0.9919 MB / 1.217 GB, free: 15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.9e-05/1.162, allocations: 13.31 kB / 1.217 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.162, allocations: 51.88 kB / 1.217 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=107): time 3.767e-06/1.162, allocations: 0 / 1.217 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=138): time 0.00881/1.171, allocations: 4.718 MB / 1.221 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/1.171, allocations: 68.72 kB / 1.221 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/1.172, allocations: 0.8228 MB / 1.222 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/1.172, allocations: 25.7 kB / 1.222 GB, free: 9.273 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008057/1.173, allocations: 1.307 MB / 1.224 GB, free: 7.949 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003646/1.173, allocations: 461.1 kB / 1.224 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/1.173, allocations: 0 / 1.224 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.173, allocations: 373.9 kB / 1.224 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/1.174, allocations: 0.8317 MB / 1.225 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/1.176, allocations: 1.28 MB / 1.226 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/1.177, allocations: 1.064 MB / 1.227 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.177, allocations: 4 kB / 1.227 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005736/1.183, allocations: 3.176 MB / 1.231 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/1.183, allocations: 17.2 kB / 1.231 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/1.183, allocations: 12 kB / 1.231 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/1.186, allocations: 1.083 MB / 1.232 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/1.187, allocations: 267.5 kB / 1.232 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/1.202, allocations: 12.04 MB / 1.244 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/1.204, allocations: 59.97 kB / 1.244 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/1.204, allocations: 72.06 kB / 1.244 GB, free: 2.656 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003013/1.204, allocations: 152.5 kB / 1.244 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005164/1.209, allocations: 2.796 MB / 1.247 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/1.21, allocations: 146.2 kB / 1.247 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005393/1.215, allocations: 2.953 MB / 1.25 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/1.215, allocations: 16 kB / 1.25 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/1.215, allocations: 19.98 kB / 1.25 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/1.215, allocations: 3.984 kB / 1.25 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009648/1.225, allocations: 5.507 MB / 1.255 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.225, allocations: 4.562 kB / 1.255 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/1.226, allocations: 159.7 kB / 1.255 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002567/1.228, allocations: 1 MB / 1.256 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/1.228, allocations: 4 kB / 1.256 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4971/1.726, allocations: 11.72 MB / 1.268 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.726, allocations: 4.938 kB / 1.268 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005766/1.731, allocations: 3.184 MB / 1.271 GB, free: 245 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00095/1.732, allocations: 415.4 kB / 1.271 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/1.733, allocations: 6.5 kB / 1.271 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008373/1.733, allocations: 55.86 kB / 1.271 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004337/1.734, allocations: 127.4 kB / 1.271 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.476e-05/1.734, allocations: 38.09 kB / 1.271 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00103/1.735, allocations: 0.618 MB / 1.272 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.735, allocations: 0 / 1.272 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002502/1.737, allocations: 0.5953 MB / 1.273 GB, free: 244.8 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005668/1.743, allocations: 4.962 MB / 1.277 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00502/1.748, allocations: 2.882 MB / 1.28 GB, free: 242 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.748, allocations: 1.375 kB / 1.28 GB, free: 242 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002977/1.751, allocations: 1.818 MB / 1.282 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/1.754, allocations: 386.2 kB / 1.282 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.764, allocations: 4.978 MB / 1.287 GB, free: 240.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002876/1.767, allocations: 2.397 MB / 1.29 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001365/1.768, allocations: 338 kB / 1.29 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/1.769, allocations: 0.9857 MB / 1.291 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/1.769, allocations: 0 / 1.291 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08106/1.85, allocations: 46.14 MB / 1.336 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.85, allocations: 184.6 kB / 1.336 GB, free: 238 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/4.889, allocations: 3.516 kB / 1.336 GB, free: 238 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)