Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 194 kB / 16.53 MB, free: 6.391 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.672/1.672, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.836/1.836, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00146/0.00146, allocations: 70.78 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2751, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004991/0.2802, allocations: 3.063 MB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.2837, allocations: 1.937 MB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.2839, allocations: 4 kB / 0.7883 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009722/0.2849, allocations: 290.9 kB / 0.7885 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004605/0.2853, allocations: 191.1 kB / 0.7887 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/0.286, allocations: 243.3 kB / 0.7889 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.2864, allocations: 322.9 kB / 0.7892 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.2867, allocations: 184.2 kB / 0.7894 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.2869, allocations: 143.5 kB / 0.7896 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.2872, allocations: 143.5 kB / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.2873, allocations: 20 kB / 0.7897 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000623/0.2879, allocations: 391.3 kB / 0.7901 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.288, allocations: 87.78 kB / 0.7902 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.2881, allocations: 119.4 kB / 0.7903 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.2888, allocations: 486.6 kB / 0.7908 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2888, allocations: 4 kB / 0.7908 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2888, allocations: 0 / 0.7908 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2888, allocations: 0 / 0.7908 GB, free: 5.898 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009379/0.2898, allocations: 0.5614 MB / 0.7913 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2898, allocations: 12.03 kB / 0.7913 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008303/0.2907, allocations: 108.5 kB / 0.7914 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.291, allocations: 259.8 kB / 0.7917 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.291, allocations: 16.81 kB / 0.7917 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.2911, allocations: 16.38 kB / 0.7917 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.2916, allocations: 369.2 kB / 0.7921 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2916, allocations: 0 / 0.7921 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.2917, allocations: 8 kB / 0.7921 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/0.2917, allocations: 24.42 kB / 0.7921 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.2922, allocations: 289.5 kB / 0.7924 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.2944, allocations: 1.745 MB / 0.7941 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.2949, allocations: 321.7 kB / 0.7944 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.295, allocations: 105.7 kB / 0.7945 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.2951, allocations: 97.25 kB / 0.7946 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.2952, allocations: 34.56 kB / 0.7946 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.2952, allocations: 0 / 0.7946 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002496/0.2977, allocations: 0.9662 MB / 0.7955 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.2978, allocations: 93.02 kB / 0.7956 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.298, allocations: 207.8 kB / 0.7958 GB, free: 308 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.298, allocations: 29.7 kB / 0.7959 GB, free: 272 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2981, allocations: 180 kB / 0.796 GB, free: 84 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/0.2982, allocations: 82.84 kB / 0.7961 GB, free: 0 / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.2983, allocations: 61.61 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2985, allocations: 330.8 kB / 0.7965 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.2987, allocations: 127.9 kB / 0.7966 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.2989, allocations: 213.8 kB / 0.7968 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.2994, allocations: 365.1 kB / 0.7972 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2994, allocations: 0 / 0.7972 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008623/0.3003, allocations: 0.5042 MB / 0.7976 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3003, allocations: 8 kB / 0.7977 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3003, allocations: 4.312 kB / 0.7977 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005198/0.3009, allocations: 151.3 kB / 0.7978 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.3011, allocations: 59.89 kB / 0.7979 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.3045, allocations: 4.198 MB / 0.802 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.3048, allocations: 20.06 kB / 0.802 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.3048, allocations: 15.94 kB / 0.802 GB, free: 9.531 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.305, allocations: 161.7 kB / 0.8021 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.3051, allocations: 23.8 kB / 0.8022 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/0.306, allocations: 484.1 kB / 0.8026 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.306, allocations: 0 / 0.8026 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.306, allocations: 4 kB / 0.8026 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.306, allocations: 0 / 0.8026 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.3077, allocations: 1.012 MB / 0.8036 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3077, allocations: 4 kB / 0.8036 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.3079, allocations: 31.92 kB / 0.8037 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.3083, allocations: 147.6 kB / 0.8038 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.3083, allocations: 8 kB / 0.8038 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.3112, allocations: 4.171 MB / 0.8079 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3112, allocations: 4.031 kB / 0.8079 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.3121, allocations: 0.6333 MB / 0.8085 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3122, allocations: 128.8 kB / 0.8086 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.3123, allocations: 15.92 kB / 0.8086 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.3125, allocations: 15.98 kB / 0.8087 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.3126, allocations: 27.91 kB / 0.8087 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.3126, allocations: 8 kB / 0.8087 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001453/0.3127, allocations: 153.5 kB / 0.8088 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3127, allocations: 4 kB / 0.8088 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005266/0.3133, allocations: 91.98 kB / 0.8089 GB, free: 1.902 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002075/0.3135, allocations: 135.2 kB / 0.8091 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009999/0.3145, allocations: 0.5904 MB / 0.8096 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3145, allocations: 0 / 0.8096 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.3151, allocations: 406.1 kB / 0.81 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.3156, allocations: 43.97 kB / 0.8101 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3168, allocations: 0.6212 MB / 0.8107 GB, free: 4 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.3173, allocations: 0.7831 MB / 0.8114 GB, free: 15.2 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.3175, allocations: 58.25 kB / 0.8115 GB, free: 15.14 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.3175, allocations: 19.44 kB / 0.8115 GB, free: 15.12 MB / 0.6388 GB Notification: Performance of SimCode: time 6.71e-07/0.3175, allocations: 4 kB / 0.8115 GB, free: 15.11 MB / 0.6388 GB Notification: Performance of Templates: time 0.008623/0.3262, allocations: 4.153 MB / 0.8156 GB, free: 11 MB / 0.6388 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)