Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.858/1.858, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001719/0.001719, allocations: 187.6 kB / 377.1 MB, free: 1.539 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.789/1.789, allocations: 205.4 MB / 0.6367 GB, free: 8.613 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.001183/0.001182, allocations: 96.12 kB / 0.751 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004078, allocations: 16 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8134/1.098, allocations: 182.9 MB / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004061/1.098, allocations: 99.94 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.09074/1.189, allocations: 28.8 MB / 1.195 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.324e-06/1.189, allocations: 0 / 1.195 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.916e-05/1.189, allocations: 11.98 kB / 1.195 GB, free: 2.598 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001439/1.19, allocations: 0.7453 MB / 1.196 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/1.191, allocations: 12.03 kB / 1.196 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/1.193, allocations: 0.5708 MB / 1.197 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000879/1.194, allocations: 474.6 kB / 1.197 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/1.194, allocations: 20.66 kB / 1.197 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.419e-05/1.194, allocations: 35.38 kB / 1.197 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/1.195, allocations: 0.7652 MB / 1.198 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/1.195, allocations: 0 / 1.198 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/1.196, allocations: 19.98 kB / 1.198 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/1.196, allocations: 20.64 kB / 1.198 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/1.197, allocations: 0.857 MB / 1.199 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/1.201, allocations: 2.854 MB / 1.201 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/1.203, allocations: 0.5254 MB / 1.202 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/1.203, allocations: 85.09 kB / 1.202 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/1.203, allocations: 42.5 kB / 1.202 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/1.203, allocations: 3.938 kB / 1.202 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.009637/1.213, allocations: 2.947 MB / 1.205 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/1.213, allocations: 81.11 kB / 1.205 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/1.213, allocations: 384.7 kB / 1.205 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/1.214, allocations: 29.7 kB / 1.205 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/1.214, allocations: 235.9 kB / 1.206 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/1.214, allocations: 86.75 kB / 1.206 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/1.214, allocations: 4 kB / 1.206 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.214, allocations: 342.8 kB / 1.206 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008364/1.215, allocations: 363.7 kB / 1.206 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008776/1.216, allocations: 443.7 kB / 1.207 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008603/1.217, allocations: 388.9 kB / 1.207 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.217, allocations: 4 kB / 1.207 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00417/1.221, allocations: 1.408 MB / 1.209 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003887/1.221, allocations: 0.786 MB / 1.209 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.221, allocations: 8 kB / 1.209 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/1.224, allocations: 0.696 MB / 1.21 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/1.225, allocations: 131.8 kB / 1.21 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/1.229, allocations: 3.259 MB / 1.213 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/1.23, allocations: 111.8 kB / 1.213 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/1.23, allocations: 16.06 kB / 1.213 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.23, allocations: 0 / 1.213 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003704/1.234, allocations: 1.152 MB / 1.215 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/1.234, allocations: 4 kB / 1.215 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/1.236, allocations: 464.2 kB / 1.215 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/1.236, allocations: 151.8 kB / 1.215 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/1.24, allocations: 2.52 MB / 1.218 GB, free: 10.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/1.241, allocations: 111.9 kB / 1.218 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/1.241, allocations: 19.98 kB / 1.218 GB, free: 10.65 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * 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 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004861/1.241, allocations: 314.3 kB / 1.218 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/1.241, allocations: 39.52 kB / 1.218 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/1.245, allocations: 1.319 MB / 1.219 GB, free: 8.965 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.245, allocations: 2.188 kB / 1.219 GB, free: 8.965 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.245, allocations: 4 kB / 1.219 GB, free: 8.961 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.245, allocations: 0 / 1.219 GB, free: 8.961 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/1.251, allocations: 1.999 MB / 1.221 GB, free: 6.895 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.251, allocations: 0 / 1.221 GB, free: 6.895 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/1.251, allocations: 79.91 kB / 1.221 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/1.254, allocations: 0.7002 MB / 1.222 GB, free: 6.109 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/1.254, allocations: 4 kB / 1.222 GB, free: 6.105 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005852/1.26, allocations: 4.575 MB / 1.227 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.26, allocations: 0 / 1.227 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/1.264, allocations: 1.362 MB / 1.228 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/1.264, allocations: 176.5 kB / 1.228 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-05/1.264, allocations: 8 kB / 1.228 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/1.265, allocations: 95.8 kB / 1.228 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.265, allocations: 25.66 kB / 1.228 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/1.265, allocations: 7.984 kB / 1.228 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004247/1.265, allocations: 307.1 kB / 1.229 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.3e-07/1.266, allocations: 0 / 1.229 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009763/1.266, allocations: 227.9 kB / 1.229 GB, free: 15 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003325/1.267, allocations: 159.1 kB / 1.229 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003484/1.27, allocations: 1.498 MB / 1.23 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/1.27, allocations: 0 / 1.23 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/1.272, allocations: 0.6709 MB / 1.231 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/1.272, allocations: 126.6 kB / 1.231 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/1.274, allocations: 1.205 MB / 1.232 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/1.275, allocations: 0.921 MB / 1.233 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005631/1.275, allocations: 151 kB / 1.233 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/1.276, allocations: 31.42 kB / 1.233 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/1.276, allocations: 0 / 1.233 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of Templates: time 0.02148/1.297, allocations: 11.78 MB / 1.245 GB, free: 14.43 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)