Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 285.4 MB / 298 MB, free: 5.992 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.001175/0.001175, allocations: 180.8 kB / 366.4 MB, free: 2.074 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.848/1.848, allocations: 205.1 MB / 0.6248 GB, free: 7.719 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001026, allocations: 93.23 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.482e-05/5.509e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7218/0.7219, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2605/0.9825, allocations: 192.6 MB / 1.159 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003769/0.9829, allocations: 99.94 kB / 1.159 GB, free: 6.992 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.183/1.166, allocations: 66.42 MB / 1.224 GB, free: 4.105 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.555e-06/1.166, allocations: 0 / 1.224 GB, free: 4.105 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001887/1.166, allocations: 36 kB / 1.224 GB, free: 4.07 MB / 0.823 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.006546/1.173, allocations: 1.675 MB / 1.226 GB, free: 2.344 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/1.173, allocations: 8.031 kB / 1.226 GB, free: 2.336 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00147/1.174, allocations: 268.7 kB / 1.226 GB, free: 2.062 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/1.179, allocations: 0.6534 MB / 1.227 GB, free: 1.406 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003852/1.183, allocations: 1.25 MB / 1.228 GB, free: 116 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/1.183, allocations: 119.3 kB / 1.228 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009081/1.184, allocations: 156 kB / 1.228 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008336/1.192, allocations: 2.613 MB / 1.231 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-05/1.192, allocations: 0 / 1.231 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005951/1.193, allocations: 67.98 kB / 1.231 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/1.193, allocations: 91.22 kB / 1.231 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005435/1.199, allocations: 2.156 MB / 1.233 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/1.218, allocations: 10.89 MB / 1.244 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/1.219, allocations: 0.7284 MB / 1.244 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009466/1.22, allocations: 0.5225 MB / 1.245 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/1.221, allocations: 97.42 kB / 1.245 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/1.221, allocations: 42.92 kB / 1.245 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=46): time 4.147e-06/1.221, allocations: 0 / 1.245 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=72): time 0.02293/1.244, allocations: 7.163 MB / 1.252 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/1.244, allocations: 85.89 kB / 1.252 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/1.246, allocations: 0.8549 MB / 1.253 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/1.246, allocations: 37.7 kB / 1.253 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007271/1.246, allocations: 0.7737 MB / 1.254 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/1.247, allocations: 252.4 kB / 1.254 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/1.247, allocations: 20 kB / 1.254 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003339/1.247, allocations: 398.7 kB / 1.254 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/1.249, allocations: 0.76 MB / 1.255 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/1.251, allocations: 1.129 MB / 1.256 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/1.252, allocations: 0.9584 MB / 1.257 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/1.252, allocations: 4 kB / 1.257 GB, free: 1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.6322/1.885, allocations: 3.392 MB / 1.26 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009865/1.886, allocations: 4.27 MB / 1.264 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/1.886, allocations: 11.92 kB / 1.264 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00669/1.892, allocations: 1.755 MB / 1.266 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/1.893, allocations: 223.5 kB / 1.266 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/1.905, allocations: 7.283 MB / 1.274 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.907, allocations: 185.7 kB / 1.274 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.907, allocations: 49.72 kB / 1.274 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.907, allocations: 8.859 kB / 1.274 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006888/1.914, allocations: 2.731 MB / 1.276 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.108e-05/1.914, allocations: 11 kB / 1.276 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003904/1.918, allocations: 1.032 MB / 1.277 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/1.919, allocations: 293.1 kB / 1.278 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/1.929, allocations: 6.065 MB / 1.284 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/1.931, allocations: 159.5 kB / 1.284 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/1.931, allocations: 45.36 kB / 1.284 GB, free: 205.4 MB / 0.8542 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.0003864/1.931, allocations: 166.7 kB / 1.284 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/1.931, allocations: 86.12 kB / 1.284 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008222/1.94, allocations: 3.007 MB / 1.287 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/1.94, allocations: 7.562 kB / 1.287 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.94, allocations: 3.188 kB / 1.287 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/1.94, allocations: 4.641 kB / 1.287 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/1.953, allocations: 5.585 MB / 1.292 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.953, allocations: 2.188 kB / 1.292 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/1.953, allocations: 106.4 kB / 1.293 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006184/1.959, allocations: 1.639 MB / 1.294 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/1.96, allocations: 14.77 kB / 1.294 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/1.973, allocations: 9.453 MB / 1.303 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/1.974, allocations: 2.656 kB / 1.303 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007445/1.981, allocations: 2.968 MB / 1.306 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009455/1.982, allocations: 331 kB / 1.307 GB, free: 197 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/1.982, allocations: 13.47 kB / 1.307 GB, free: 197 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008401/1.983, allocations: 143.5 kB / 1.307 GB, free: 197 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003814/1.983, allocations: 68.75 kB / 1.307 GB, free: 197 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/1.984, allocations: 18.94 kB / 1.307 GB, free: 197 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001093/1.985, allocations: 0.6652 MB / 1.308 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/1.985, allocations: 0 / 1.308 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003403/1.988, allocations: 0.6967 MB / 1.308 GB, free: 196.7 MB / 0.8542 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.0076/1.996, allocations: 4.151 MB / 1.312 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007708/2.003, allocations: 3.612 MB / 1.316 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/2.003, allocations: 0 / 1.316 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002768/2.006, allocations: 1.375 MB / 1.317 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/2.008, allocations: 230.8 kB / 1.317 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/2.015, allocations: 3.394 MB / 1.321 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/2.016, allocations: 1.757 MB / 1.322 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001698/2.018, allocations: 0.6635 MB / 1.323 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/2.018, allocations: 0.5008 MB / 1.324 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/2.018, allocations: 0 / 1.324 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07306/2.092, allocations: 41.15 MB / 1.364 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/2.092, allocations: 228.6 kB / 1.364 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/5.073, allocations: 4 kB / 1.364 GB, free: 179.1 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)