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.699/1.699, allocations: 289.7 MB / 302.3 MB, free: 2.176 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.001214/0.001215, allocations: 185.9 kB / 371.6 MB, free: 3.395 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.927/1.927, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001033/0.001033, allocations: 91 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.536e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3195, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8295/1.149, allocations: 182.8 MB / 1.158 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/1.149, allocations: 99.56 kB / 1.158 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06806/1.217, allocations: 28.68 MB / 1.186 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.963e-06/1.218, allocations: 0 / 1.186 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.549e-05/1.218, allocations: 8 kB / 1.186 GB, free: 8.004 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.001149/1.219, allocations: 0.6861 MB / 1.187 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.219, allocations: 8.031 kB / 1.187 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/1.221, allocations: 0.5772 MB / 1.188 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009111/1.222, allocations: 467 kB / 1.188 GB, free: 6.305 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/1.222, allocations: 38.45 kB / 1.188 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.767e-05/1.223, allocations: 27.12 kB / 1.188 GB, free: 6.258 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000936/1.223, allocations: 0.5883 MB / 1.189 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.223, allocations: 0 / 1.189 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/1.224, allocations: 19.88 kB / 1.189 GB, free: 5.789 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/1.224, allocations: 20.22 kB / 1.189 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/1.224, allocations: 0.5113 MB / 1.189 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/1.228, allocations: 2.854 MB / 1.192 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008164/1.229, allocations: 350.8 kB / 1.192 GB, free: 2.488 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/1.23, allocations: 159.9 kB / 1.193 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/1.23, allocations: 97.03 kB / 1.193 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.23, allocations: 33.94 kB / 1.193 GB, free: 2.23 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/1.23, allocations: 0 / 1.193 GB, free: 2.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24): time 0.006157/1.236, allocations: 2.035 MB / 1.195 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/1.236, allocations: 85.05 kB / 1.195 GB, free: 404 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/1.236, allocations: 370.8 kB / 1.195 GB, free: 104 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/1.237, allocations: 33.7 kB / 1.195 GB, free: 64 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/1.237, allocations: 236.9 kB / 1.195 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/1.237, allocations: 84.02 kB / 1.195 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/1.237, allocations: 3.375 kB / 1.195 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.237, allocations: 345.1 kB / 1.196 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/1.237, allocations: 242.1 kB / 1.196 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/1.238, allocations: 338.8 kB / 1.196 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/1.238, allocations: 268.2 kB / 1.197 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.238, allocations: 4 kB / 1.197 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002842/1.241, allocations: 1.14 MB / 1.198 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003467/1.241, allocations: 0.7952 MB / 1.199 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.241, allocations: 0 / 1.199 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/1.244, allocations: 0.6354 MB / 1.199 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/1.245, allocations: 131 kB / 1.199 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/1.248, allocations: 3.121 MB / 1.202 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007981/1.249, allocations: 115.4 kB / 1.202 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/1.249, allocations: 16.52 kB / 1.202 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/1.249, allocations: 4 kB / 1.202 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00222/1.251, allocations: 0.8777 MB / 1.203 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/1.251, allocations: 3.953 kB / 1.203 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/1.253, allocations: 396 kB / 1.204 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/1.254, allocations: 147.3 kB / 1.204 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/1.257, allocations: 2.398 MB / 1.206 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007062/1.257, allocations: 103.3 kB / 1.206 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/1.257, allocations: 19.42 kB / 1.206 GB, free: 6.02 MB / 0.7761 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 () * 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.0001716/1.258, allocations: 123.7 kB / 1.206 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/1.258, allocations: 35.58 kB / 1.206 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/1.261, allocations: 1.119 MB / 1.208 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.261, allocations: 4.141 kB / 1.208 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.261, allocations: 4 kB / 1.208 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.261, allocations: 3.984 kB / 1.208 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/1.264, allocations: 1.799 MB / 1.209 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.264, allocations: 0 / 1.209 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/1.265, allocations: 84 kB / 1.209 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/1.267, allocations: 0.6162 MB / 1.21 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/1.267, allocations: 11.92 kB / 1.21 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005204/1.273, allocations: 4.373 MB / 1.214 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.273, allocations: 3.984 kB / 1.214 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/1.275, allocations: 1.17 MB / 1.215 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/1.276, allocations: 175.5 kB / 1.216 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/1.276, allocations: 0 / 1.216 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/1.276, allocations: 95.73 kB / 1.216 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/1.277, allocations: 23.52 kB / 1.216 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/1.277, allocations: 15.44 kB / 1.216 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003851/1.277, allocations: 307.1 kB / 1.216 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.5e-07/1.277, allocations: 0 / 1.216 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008693/1.278, allocations: 220.3 kB / 1.216 GB, free: 13.05 MB / 0.7917 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 () * 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.0003164/1.278, allocations: 161.1 kB / 1.216 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002066/1.28, allocations: 1.198 MB / 1.218 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.28, allocations: 0.625 kB / 1.218 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009071/1.281, allocations: 0.5843 MB / 1.218 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/1.282, allocations: 120.6 kB / 1.218 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/1.283, allocations: 0.7601 MB / 1.219 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/1.284, allocations: 0.9258 MB / 1.22 GB, free: 9.793 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006807/1.284, allocations: 215.6 kB / 1.22 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.284, allocations: 31.41 kB / 1.22 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of SimCode: time 3.51e-07/1.284, allocations: 0 / 1.22 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of Templates: time 0.02034/1.305, allocations: 12.18 MB / 1.232 GB, free: 13.46 MB / 0.8073 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)