Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001458/0.001458, allocations: 184.9 kB / 361.4 MB, free: 6.824 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.766/1.766, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0008624/0.0008624, allocations: 89.69 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.739e-05, allocations: 0 / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7007, allocations: 115.3 MB / 0.9644 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2315/0.9323, allocations: 181.2 MB / 1.141 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.9327, allocations: 96.91 kB / 1.141 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07462/1.007, allocations: 28.5 MB / 1.169 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.673e-06/1.007, allocations: 0 / 1.169 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.175e-05/1.007, allocations: 8 kB / 1.169 GB, free: 9.82 MB / 0.7761 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.001418/1.009, allocations: 0.686 MB / 1.17 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.009, allocations: 12.03 kB / 1.17 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/1.012, allocations: 0.5659 MB / 1.17 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/1.013, allocations: 477.2 kB / 1.171 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/1.013, allocations: 11.98 kB / 1.171 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/1.013, allocations: 19.94 kB / 1.171 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008059/1.014, allocations: 465.3 kB / 1.171 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008879/1.014, allocations: 0.5486 MB / 1.172 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/1.015, allocations: 0 / 1.172 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/1.015, allocations: 0 / 1.172 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/1.015, allocations: 24.72 kB / 1.172 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004132/1.019, allocations: 2.767 MB / 1.175 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/1.02, allocations: 350.2 kB / 1.175 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/1.02, allocations: 166.1 kB / 1.175 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/1.02, allocations: 85.11 kB / 1.175 GB, free: 3.324 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/1.02, allocations: 30.56 kB / 1.175 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 3.557e-06/1.02, allocations: 7.984 kB / 1.175 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.004357/1.024, allocations: 1.538 MB / 1.177 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/1.024, allocations: 81.11 kB / 1.177 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/1.025, allocations: 333 kB / 1.177 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/1.025, allocations: 25.7 kB / 1.177 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/1.025, allocations: 244 kB / 1.177 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/1.025, allocations: 74.84 kB / 1.178 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/1.025, allocations: 0 / 1.178 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.025, allocations: 342.8 kB / 1.178 GB, free: 0.6016 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/1.026, allocations: 243.9 kB / 1.178 GB, free: 372 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/1.026, allocations: 312.5 kB / 1.178 GB, free: 28 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005463/1.027, allocations: 299 kB / 1.179 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.027, allocations: 0 / 1.179 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002727/1.029, allocations: 1.057 MB / 1.18 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003331/1.03, allocations: 0.794 MB / 1.18 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.03, allocations: 4 kB / 1.18 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/1.032, allocations: 481 kB / 1.181 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/1.032, allocations: 127.8 kB / 1.181 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/1.036, allocations: 3.009 MB / 1.184 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007717/1.037, allocations: 111.8 kB / 1.184 GB, free: 9.945 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/1.037, allocations: 20.05 kB / 1.184 GB, free: 9.926 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/1.037, allocations: 4 kB / 1.184 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008478/1.038, allocations: 463.8 kB / 1.185 GB, free: 9.469 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/1.038, allocations: 0 / 1.185 GB, free: 9.469 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/1.038, allocations: 4 kB / 1.185 GB, free: 9.465 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/1.039, allocations: 160 kB / 1.185 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.039, allocations: 7.938 kB / 1.185 GB, free: 9.301 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/1.039, allocations: 93.72 kB / 1.185 GB, free: 9.211 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/1.039, allocations: 8 kB / 1.185 GB, free: 9.203 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 () * 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.0001638/1.039, allocations: 116.9 kB / 1.185 GB, free: 9.082 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.04, allocations: 35.58 kB / 1.185 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/1.042, allocations: 1.103 MB / 1.186 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.042, allocations: 4.188 kB / 1.186 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.042, allocations: 0 / 1.186 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.043, allocations: 11.91 kB / 1.186 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/1.046, allocations: 1.715 MB / 1.188 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.046, allocations: 0 / 1.188 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/1.047, allocations: 83.89 kB / 1.188 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/1.049, allocations: 0.6181 MB / 1.188 GB, free: 5.445 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/1.049, allocations: 7.984 kB / 1.188 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00499/1.054, allocations: 4.205 MB / 1.193 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.054, allocations: 0 / 1.193 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/1.057, allocations: 1.159 MB / 1.194 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/1.057, allocations: 168.6 kB / 1.194 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.4e-05/1.057, allocations: 7.984 kB / 1.194 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/1.058, allocations: 107.8 kB / 1.194 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.058, allocations: 19.97 kB / 1.194 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/1.058, allocations: 9.312 kB / 1.194 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000356/1.059, allocations: 268.6 kB / 1.194 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.41e-07/1.059, allocations: 0 / 1.194 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009247/1.06, allocations: 191.9 kB / 1.194 GB, free: 15.02 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 () * 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.0003531/1.06, allocations: 166.8 kB / 1.195 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001765/1.062, allocations: 0.9686 MB / 1.195 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.062, allocations: 0 / 1.195 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008655/1.063, allocations: 0.5618 MB / 1.196 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/1.063, allocations: 105.8 kB / 1.196 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/1.065, allocations: 0.7426 MB / 1.197 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/1.065, allocations: 0.925 MB / 1.198 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007491/1.066, allocations: 219.4 kB / 1.198 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/1.066, allocations: 31.41 kB / 1.198 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/1.066, allocations: 0 / 1.198 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of Templates: time 0.01788/1.084, allocations: 10.17 MB / 1.208 GB, free: 1.211 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)