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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001684, allocations: 105.6 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 193.1 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 66.5 kB / 0.6717 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2213, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005912/0.2273, allocations: 4.394 MB / 0.7878 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004403/0.2317, allocations: 3.211 MB / 0.791 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.2321, allocations: 11.94 kB / 0.791 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.2336, allocations: 497.3 kB / 0.7914 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008782/0.2345, allocations: 346.4 kB / 0.7918 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.2351, allocations: 223.6 kB / 0.792 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006617/0.2357, allocations: 0.5995 MB / 0.7926 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000753/0.2365, allocations: 0.5797 MB / 0.7931 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004655/0.237, allocations: 283.1 kB / 0.7934 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.2374, allocations: 286.9 kB / 0.7937 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.2375, allocations: 40 kB / 0.7937 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004906/0.238, allocations: 295.5 kB / 0.794 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.2381, allocations: 155.6 kB / 0.7941 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.2384, allocations: 234.9 kB / 0.7944 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007102/0.2391, allocations: 0.6275 MB / 0.795 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2391, allocations: 0 / 0.795 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2391, allocations: 4 kB / 0.795 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.2391, allocations: 0 / 0.795 GB, free: 2.109 MB / 0.6075 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.001356/0.2405, allocations: 0.7752 MB / 0.7957 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2405, allocations: 8.031 kB / 0.7958 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.2431, allocations: 0.6593 MB / 0.7964 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.2438, allocations: 439.8 kB / 0.7968 GB, free: 156 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2438, allocations: 21.03 kB / 0.7968 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/0.2439, allocations: 32.12 kB / 0.7969 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.2454, allocations: 0.7825 MB / 0.7976 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2454, allocations: 0 / 0.7976 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.2455, allocations: 12 kB / 0.7976 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.2456, allocations: 40.61 kB / 0.7977 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.2475, allocations: 0.8569 MB / 0.7985 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003731/0.2512, allocations: 2.804 MB / 0.8013 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.2528, allocations: 0.5058 MB / 0.8018 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.2534, allocations: 252.5 kB / 0.802 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.2536, allocations: 97.06 kB / 0.8021 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.2536, allocations: 34.56 kB / 0.8021 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.2536, allocations: 0 / 0.8021 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.01132/0.2649, allocations: 2.95 MB / 0.805 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.265, allocations: 67.27 kB / 0.8051 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/0.2655, allocations: 405.5 kB / 0.8054 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.2655, allocations: 33.7 kB / 0.8055 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.2657, allocations: 231.9 kB / 0.8057 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-05/0.2658, allocations: 86.75 kB / 0.8058 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.266, allocations: 69.67 kB / 0.8059 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2661, allocations: 338.8 kB / 0.8062 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009112/0.267, allocations: 352.4 kB / 0.8065 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008801/0.2679, allocations: 417.1 kB / 0.8069 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.2696, allocations: 0.7348 MB / 0.8076 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2696, allocations: 8 kB / 0.8076 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005035/0.2747, allocations: 1.467 MB / 0.8091 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.2747, allocations: 4 kB / 0.8091 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.2748, allocations: 8.188 kB / 0.8091 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003661/0.2784, allocations: 0.77 MB / 0.8098 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/0.2791, allocations: 127.8 kB / 0.81 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006891/0.286, allocations: 4.844 MB / 0.8147 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007952/0.2868, allocations: 103.8 kB / 0.8148 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.2869, allocations: 15.92 kB / 0.8148 GB, free: 13 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001093/0.288, allocations: 0.5193 MB / 0.8153 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008705/0.2889, allocations: 409.2 kB / 0.8157 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001665/0.2906, allocations: 0.722 MB / 0.8164 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.2906, allocations: 0 / 0.8164 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004126/0.2947, allocations: 1.25 MB / 0.8176 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2948, allocations: 4 kB / 0.8176 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2948, allocations: 7.984 kB / 0.8176 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/0.297, allocations: 0.4925 MB / 0.8181 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.2977, allocations: 139.8 kB / 0.8182 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/0.3013, allocations: 2.605 MB / 0.8208 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/0.3021, allocations: 111.9 kB / 0.8209 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.3022, allocations: 11.98 kB / 0.8209 GB, free: 6.527 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.3025, allocations: 196.9 kB / 0.8211 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.3026, allocations: 35.62 kB / 0.8211 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004574/0.3072, allocations: 1.347 MB / 0.8224 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3072, allocations: 0 / 0.8224 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3072, allocations: 0 / 0.8224 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3072, allocations: 4 kB / 0.8224 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/0.3127, allocations: 1.984 MB / 0.8244 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.3127, allocations: 4 kB / 0.8244 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.3131, allocations: 83.83 kB / 0.8245 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003148/0.3163, allocations: 0.7039 MB / 0.8252 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-05/0.3164, allocations: 11.94 kB / 0.8252 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006021/0.3224, allocations: 4.678 MB / 0.8297 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.3224, allocations: 8.031 kB / 0.8297 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.3268, allocations: 1.349 MB / 0.8311 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.3271, allocations: 168.6 kB / 0.8312 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.3272, allocations: 8 kB / 0.8312 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.3278, allocations: 84.05 kB / 0.8313 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.3279, allocations: 19.97 kB / 0.8313 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.328, allocations: 19.97 kB / 0.8314 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003684/0.3283, allocations: 299.1 kB / 0.8316 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3283, allocations: 0 / 0.8316 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000871/0.3292, allocations: 192 kB / 0.8318 GB, free: 10.92 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001952/0.3294, allocations: 111.2 kB / 0.8319 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003634/0.3331, allocations: 1.564 MB / 0.8335 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3331, allocations: 0 / 0.8335 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.3343, allocations: 0.6265 MB / 0.8341 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007325/0.3351, allocations: 126.9 kB / 0.8342 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.3372, allocations: 1.23 MB / 0.8354 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.3378, allocations: 0.9015 MB / 0.8363 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.3379, allocations: 39.41 kB / 0.8363 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.3379, allocations: 0 / 0.8363 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of Templates: time 0.01652/0.3545, allocations: 12.35 MB / 0.8484 GB, free: 9.871 MB / 0.67 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)