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.415/1.415, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 179.8 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.001113/0.001112, allocations: 87.73 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003704, allocations: 14.12 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2679, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9188/1.187, allocations: 190.1 MB / 1.086 GB, free: 52.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/1.187, allocations: 98.53 kB / 1.086 GB, free: 52.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2561/1.443, allocations: 113.7 MB / 1.197 GB, free: 6.645 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.996e-06/1.443, allocations: 0 / 1.197 GB, free: 6.645 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002955/1.444, allocations: 75.75 kB / 1.197 GB, free: 6.574 MB / 0.698 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.0123/1.456, allocations: 2.897 MB / 1.2 GB, free: 3.836 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.699e-05/1.456, allocations: 12.03 kB / 1.2 GB, free: 3.824 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003514/1.46, allocations: 456.1 kB / 1.2 GB, free: 3.559 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005567/1.465, allocations: 0.676 MB / 1.201 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007131/1.472, allocations: 2.068 MB / 1.203 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003172/1.473, allocations: 219.3 kB / 1.203 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/1.474, allocations: 298 kB / 1.203 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009527/1.484, allocations: 4.613 MB / 1.208 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.133e-05/1.484, allocations: 11.84 kB / 1.208 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003699/1.484, allocations: 131.8 kB / 1.208 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/1.485, allocations: 173.7 kB / 1.208 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006359/1.491, allocations: 3.403 MB / 1.212 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/1.519, allocations: 21.6 MB / 1.233 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/1.521, allocations: 1.282 MB / 1.234 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/1.521, allocations: 13 kB / 1.234 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/1.521, allocations: 43.56 kB / 1.234 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=107): time 6.222e-06/1.521, allocations: 0 / 1.234 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138): time 0.02555/1.547, allocations: 8.588 MB / 1.242 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/1.547, allocations: 64.72 kB / 1.242 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/1.549, allocations: 0.9752 MB / 1.243 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/1.549, allocations: 45.7 kB / 1.243 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008998/1.55, allocations: 1.307 MB / 1.245 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004323/1.55, allocations: 484.5 kB / 1.245 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.373e-05/1.55, allocations: 28 kB / 1.245 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.55, allocations: 373.9 kB / 1.246 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/1.551, allocations: 0.8706 MB / 1.246 GB, free: 3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/1.553, allocations: 1.335 MB / 1.248 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/1.554, allocations: 1.115 MB / 1.249 GB, free: 356 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.554, allocations: 4 kB / 1.249 GB, free: 352 kB / 0.7448 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006026/1.56, allocations: 3.403 MB / 1.252 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/1.561, allocations: 12.19 kB / 1.252 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/1.561, allocations: 20 kB / 1.252 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/1.564, allocations: 1.145 MB / 1.253 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000994/1.565, allocations: 267.5 kB / 1.253 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/1.581, allocations: 12.96 MB / 1.266 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.583, allocations: 95.92 kB / 1.266 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/1.583, allocations: 64 kB / 1.266 GB, free: 13.97 MB / 0.7761 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 () * Number of clocked 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.00293/1.586, allocations: 1.118 MB / 1.267 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005466/1.587, allocations: 158.1 kB / 1.268 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005907/1.592, allocations: 3.126 MB / 1.271 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.592, allocations: 12 kB / 1.271 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/1.592, allocations: 16 kB / 1.271 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/1.593, allocations: 7.969 kB / 1.271 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/1.604, allocations: 6.111 MB / 1.277 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.604, allocations: 4 kB / 1.277 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/1.604, allocations: 156.2 kB / 1.277 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002622/1.607, allocations: 1.02 MB / 1.278 GB, free: 2.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.984e-05/1.607, allocations: 27.94 kB / 1.278 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01553/1.623, allocations: 12.66 MB / 1.29 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/1.623, allocations: 7.938 kB / 1.29 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005598/1.628, allocations: 3.334 MB / 1.293 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.629, allocations: 419.1 kB / 1.294 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/1.63, allocations: 31.94 kB / 1.294 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007745/1.63, allocations: 75.89 kB / 1.294 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003992/1.631, allocations: 132.7 kB / 1.294 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/1.631, allocations: 36.38 kB / 1.294 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001137/1.632, allocations: 0.7436 MB / 1.295 GB, free: 4 kB / 0.7917 GB Notification: Performance of sort global known variables: time 1.6e-07/1.632, allocations: 0 / 1.295 GB, free: 4 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002717/1.635, allocations: 0.6719 MB / 1.295 GB, free: 15.33 MB / 0.8073 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 (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.007299/1.642, allocations: 5.125 MB / 1.3 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00651/1.649, allocations: 3.068 MB / 1.303 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/1.649, allocations: 1.25 kB / 1.303 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003841/1.653, allocations: 1.943 MB / 1.305 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/1.655, allocations: 426.8 kB / 1.306 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03605/1.691, allocations: 24.55 MB / 1.33 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004297/1.696, allocations: 2.402 MB / 1.332 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001486/1.697, allocations: 342 kB / 1.332 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.699, allocations: 0.9991 MB / 1.333 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of SimCode: time 7.254e-06/1.699, allocations: 0 / 1.333 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09349/1.792, allocations: 48.38 MB / 1.381 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/1.793, allocations: 243.4 kB / 1.381 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/4.874, allocations: 4 kB / 1.381 GB, free: 7.426 MB / 0.8855 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)