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.001629/0.001629, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001979/0.001979, allocations: 192.2 kB / 16.13 MB, free: 6.707 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.511/1.511, allocations: 205.1 MB / 222 MB, free: 4.777 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.739/1.739, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001457/0.001457, allocations: 61.98 kB / 0.6708 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2564, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004586/0.261, allocations: 3.12 MB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.264, allocations: 1.965 MB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.2641, allocations: 7.938 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.265, allocations: 259.1 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.2655, allocations: 183.3 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.2661, allocations: 207.5 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.2666, allocations: 446.7 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.2669, allocations: 173.2 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.2671, allocations: 119.5 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.2674, allocations: 147.5 kB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.2675, allocations: 12 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007247/0.2682, allocations: 467.1 kB / 0.7896 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.766e-05/0.2683, allocations: 79.8 kB / 0.7896 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.2684, allocations: 119.4 kB / 0.7898 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.269, allocations: 494.6 kB / 0.7902 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.269, allocations: 0 / 0.7902 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.269, allocations: 0 / 0.7902 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.2691, allocations: 0 / 0.7902 GB, free: 6.25 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.0009607/0.27, allocations: 0.5614 MB / 0.7908 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2701, allocations: 8.031 kB / 0.7908 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007999/0.2709, allocations: 112.5 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.2712, allocations: 266.6 kB / 0.7911 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.2712, allocations: 12.81 kB / 0.7912 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.2713, allocations: 16.38 kB / 0.7912 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.2718, allocations: 361 kB / 0.7915 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2718, allocations: 4 kB / 0.7915 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.2719, allocations: 8 kB / 0.7915 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.2719, allocations: 28.41 kB / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.2724, allocations: 297.5 kB / 0.7918 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.2744, allocations: 1.741 MB / 0.7935 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.2749, allocations: 318.1 kB / 0.7938 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.275, allocations: 109.6 kB / 0.7939 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.584e-05/0.2751, allocations: 81.39 kB / 0.794 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2752, allocations: 46.56 kB / 0.7941 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.2752, allocations: 0 / 0.7941 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002424/0.2776, allocations: 0.96 MB / 0.795 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.2777, allocations: 89.17 kB / 0.7951 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.2779, allocations: 211.7 kB / 0.7953 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.278, allocations: 33.7 kB / 0.7953 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2781, allocations: 168.1 kB / 0.7955 GB, free: 452 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.2781, allocations: 78.8 kB / 0.7956 GB, free: 372 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2782, allocations: 69.59 kB / 0.7956 GB, free: 296 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2784, allocations: 326.8 kB / 0.7959 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.2786, allocations: 131.9 kB / 0.7961 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.2788, allocations: 209.8 kB / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.2793, allocations: 368.4 kB / 0.7966 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2793, allocations: 8 kB / 0.7966 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008103/0.2801, allocations: 0.5003 MB / 0.7971 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2801, allocations: 8.312 kB / 0.7971 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2801, allocations: 4 kB / 0.7971 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.2806, allocations: 151.3 kB / 0.7973 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.2809, allocations: 59.91 kB / 0.7973 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.2836, allocations: 3.969 MB / 0.8012 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.2838, allocations: 23.92 kB / 0.8012 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.2839, allocations: 12 kB / 0.8012 GB, free: 10.12 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.0001993/0.2841, allocations: 168.6 kB / 0.8014 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.2842, allocations: 19.91 kB / 0.8014 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008259/0.285, allocations: 484.1 kB / 0.8019 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.285, allocations: 4 kB / 0.8019 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.285, allocations: 4 kB / 0.8019 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.285, allocations: 0 / 0.8019 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2865, allocations: 0.9998 MB / 0.8029 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2865, allocations: 4 kB / 0.8029 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.2866, allocations: 31.92 kB / 0.8029 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.287, allocations: 151.6 kB / 0.803 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.2871, allocations: 7.938 kB / 0.8031 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/0.2896, allocations: 3.949 MB / 0.8069 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.2897, allocations: 4.031 kB / 0.8069 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.2905, allocations: 0.6386 MB / 0.8075 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.2906, allocations: 124.8 kB / 0.8077 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.2907, allocations: 8 kB / 0.8077 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.2909, allocations: 15.98 kB / 0.8077 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.291, allocations: 31.91 kB / 0.8077 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.291, allocations: 12 kB / 0.8077 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001452/0.2911, allocations: 153.5 kB / 0.8079 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2911, allocations: 3.938 kB / 0.8079 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005322/0.2917, allocations: 95.92 kB / 0.808 GB, free: 2.727 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.0001988/0.2919, allocations: 131.2 kB / 0.8081 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009026/0.2928, allocations: 0.5781 MB / 0.8086 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2928, allocations: 0 / 0.8086 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004824/0.2933, allocations: 412.2 kB / 0.809 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.2938, allocations: 44 kB / 0.8091 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009841/0.2948, allocations: 0.7284 MB / 0.8098 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.2952, allocations: 0.7753 MB / 0.8106 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.2953, allocations: 58.25 kB / 0.8106 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.2954, allocations: 23.42 kB / 0.8106 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.2954, allocations: 0 / 0.8106 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of Templates: time 0.007378/0.3028, allocations: 4.016 MB / 0.8146 GB, free: 11.86 MB / 0.6387 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)